/srv/irclogs.ubuntu.com/2008/11/11/#ubuntu-website.txt

Turlhi newz2000, I saw firefox's index is fixed :)15:11
newz2000hi Turl, yes, I noticed it yesterday15:12
newz2000it was actually published last week (thursday or friday) so I'm surprised it took so long15:12
newz2000I think it was due to our aggressive caching during the release period15:12
TurlI still wonder why sometimes, when I open firefox, another ubuntu page loads15:13
newz2000it's the offline start page for when no network connection is detected15:14
Turlbut I have connection :p15:14
newz2000is it the page that looks kind of gold coloured at the top?15:15
Turlit's one that talks about ubuntu and has links for the community and similar15:15
Turlchrome://ubufox/... or sth similar is the url15:15
newz2000this? http://start.ubuntu.com/8.04/15:15
newz2000oh15:15
newz2000chrome://... is the offline start page15:16
Turlnot that one15:16
Turlstrange then15:16
newz2000the test is very simple, it looks for a response to  acertain website within a certain short period, and if the website doesn't respond quick enough it gives you the offline page15:16
Turlmaybe it's 'cause I use wifi? :p15:16
Turlwhat site, btw?15:16
newz2000I think start.ubuntu.com15:16
Turlbtw, I have an idea for the download page, to simplify it a bit without much recoding15:18
Turlit's a meantime solution, lets say15:18
* newz2000 is eager to hear15:18
Turlyou could group the mirrors in countries, like aaa.com, bbb.com and ccc.com are from USA and aaa.com.ar bbb.com.ar are from Argentina15:19
Turland then show a list of the available countries15:19
Turlso the user just chooses his/her country, or one nearby15:19
newz2000that is a good idea15:20
newz2000That would make the list far simpler and shorter15:20
Turlyou should put a notice however, that the country is needed for mirror selection (well, use more "simple" words, people don't even need to know what a mirror is), because if not some paranoid people might think you are gathering info, spying on them or sth.15:21
newz2000yeah, there's been a lot of debate on the "correct" amount of text.15:22
newz2000we decided to have very little this tiem around15:22
newz2000right now it says, "Choose a download location near you" Can you suggest better wording to replace or add to that?15:23
Turlmhm, you could write "Choose your country (or one nearby) to download from" if you implement the country list system15:25
TurlI'm not a native speaker nor have any high degree in English, so I'm surely not the best person to have a thought on that15:27
newz2000I understand, I just was curious the keywords you felt were lacking15:27
newz2000so switching to a coutntry based system and communicating to people that they need to choose a country is your goal.15:28
newz2000I think that's a very good idea.15:28
newz2000Maybe "Download from a country near you."15:28
Turlthat sounds good15:28
newz2000There are a lot of countries not in the list so many people will have to choose a nearby country.15:28
Turlmaybe highlight the fact that downloading from a nearby country is faster?15:29
newz2000ah, good suggestion15:29
newz2000Very good suggestion15:29
Turl"Download faster from a country near you." doesn't sound good though. maybe include it in another paragraph on the right/under the list, or in a tooltip?15:30
newz2000Turl: in South America, if your country wasn't chosen what would you do, choose from a neighbor or choose from USA?15:30
newz2000say Peru or Brazil, or USA?15:30
TurlI have experience downloading from neighbour countries, so I'd choose USA. Usually latin american countries have low-bandwith connections.15:31
newz2000that's what I thought15:32
newz2000That's so hard to communicate and the impact can be quite severe (so I've heard)15:32
Turland if there was an option to download from europe, I'd do that either.15:32
newz2000you would or would not do that?15:32
Turlinstead, sorry :p15:33
newz2000ah, interesting... europe is faster than USA for you?15:33
Turlyep, I think there's a direct network link from america-europe?15:33
Turlwell, all of them download the same if you use a download manager though :p15:34
newz2000Latin America and Africa are two very odd places when calculating downloads. For Africa the rules are easy (choose Europe) because there are fewer people downloading and there just isn't a logical choice unless you're in south africa.15:36
newz2000Latin america however has tons of Ubuntu users and interest and the rules for ideal bandwidth seem to be very complex15:36
Turlthere's a site that shows the world traffic15:36
Turlhere http://www.internettrafficreport.com/15:37
newz2000very interesting stuff15:38
Turlyou see, we have very low packet loss :p http://www.internettrafficreport.com/samerica.htm15:40
newz2000I see15:41
Turlquite high in North America http://www.internettrafficreport.com/namerica.htm :O15:41
=== nealmcb1 is now known as nealmcb
huayrahello everyone17:17
huayranewz2000, I need some advice :)17:17
newz2000hey huayra17:17
huayraSpreadUbuntu went life with 0.117:17
huayraand we have been having performance problems17:17
huayrahttp://ubuntu.ec/su/drupal5/17:18
AliTabuger7his server is maxed out on both RAM and swap17:18
huayrahard reboot every 12 hours is not the idea of my ideal site17:18
huayraso, we want to make some performance tweaks17:18
huayraand see how that goes17:18
huayrathat's why we are here :)17:18
huayraso, the info:17:18
huayraThe server is hosting 2 drupal instances and 2 other sites (little to none traffic in all of them besides SpreadUbuntu)17:19
AliTabuger7it's 256 mb of ram, and 512 of swap. I believe that adding more swap will help performance in the short run. Having 0 available memory cripples the system. Of course this would have to be coupled with ways to reduce memory usage.17:19
huayraI made a report for 30 seconds ago with webalizer so you can see the load, visits, etc17:20
huayrahttp://ubuntu.ec/webalizer/17:20
huayraFor november specifically: http://ubuntu.ec/webalizer/usage_200811.html17:21
huayraso, what can we do to improve our performance?17:23
huayraand the server runs of course ubuntu :)17:26
newz2000huayra: so the site is running slow?17:46
newz2000(sorry for delay, I was focused on another task and didn't see the conversation window)17:46
huayranot now, but when there is too much load it takes ages to get the page up17:46
huayrabut the server never dies(tm), but in practice it does :(17:46
huayra(it's ok :))17:47
newz2000right17:47
newz2000do you know if you are using the mpm worker module or the mpm prefork module for apache?17:47
huayralet me check17:48
huayraI should see that in apache.conf right?17:49
huayraapache2.conf17:49
newz2000just a moment17:49
huayraok17:56
newz2000huayra: ok, I'm avail17:56
huayragood :)17:57
newz2000I'm not sure how to tell which mpm module is enabled17:57
huayrawhere can it e seen?17:57
huayraI am sure i have seen it somewhere17:57
newz2000There is probably a package installed, apache2-mpm-(something)17:57
newz2000or something like that17:57
newz2000dpkg -l apache2-mpm*17:58
newz2000(that's a little L)17:58
newz2000that will list the modules, the installed one will have a version number listed17:58
huayraprefork17:59
huayraI'm in aptitude17:59
huayra;)17:59
newz2000ok, now look in /etc/apach2/apache2.conf18:00
newz2000scroll down to the preform mpm section18:00
huayrawant the dump?18:00
newz2000no18:00
newz2000what is max_clients set to?18:00
huayra5018:01
huayraI did change that to 25, but in worker MPM, not prefork :(18:01
huayrashall I put a different value there?18:01
newz2000I'm looking at the stats you linked to18:01
newz2000I see a huge spike on Nov 10th18:01
newz2000was that a period when your server was overwhelmed?18:02
huayrait may have been18:02
huayrawe released yesterday and announced to all LoCo teams, marketing people and I posted it in the planet18:03
huayraso I guess it may have something to do with that18:03
newz2000is it possible for you to run webalizer on just the log file from the 10th?18:03
huayrathe server went down yesterday at about 18.00 UTC18:03
huayraand tonight at 00.30 UTC18:03
huayraI guess so, but I have only one file.18:04
huayra:|18:04
newz2000Just do a grep to get the lines out from the 10th into a new log file and then run it on that18:04
huayraI did see though in the errors log that the max_clients value was reached18:04
newz2000I'm trying to figure out if we're barking up the wrong tree18:05
newz2000the numbers you're hitting are lower than I'd expect to be crushing your server18:05
huayrathere it is18:08
huayrahttp://ubuntu.ec/webalizer/18:08
huayrajust the 10th18:09
huayraI have made a file for the 11th too if you want to see18:09
newz20005600 hits per hour was your peak on the 10th. That's pretty low. :-/18:09
newz2000Its busy, don't get me wrong18:10
newz2000but a modern server can handle more than 1.5 hits/sec usually18:10
huayrait's ok18:10
huayrait may be something else18:10
newz2000so you're hitting swap when the load goes up?18:10
huayrayes18:10
huayrait uses up ALL resources18:11
huayraand bye18:11
huayrawant to see the log for the 11th just to see what caused it to fall the last time?18:11
newz2000sure18:11
huayrasee the webalizer overview now18:12
newz2000not as high as the peak on the 10th18:12
huayraok18:13
huayrammm, I have put drupal to make a cache every hour18:14
newz2000what's your site's url again?18:14
huayrahttp://ubuntu.ec/su/drupal5/the message I almost always18:14
huayrahttp://ubuntu.ec/su/drupal5/18:14
huayrasorry18:14
newz2000whenever I try to go to SpreadUbuntu.com It sends me to ubuntu.com18:16
huayrahttp://pastebin.ubuntu.com/70603/18:16
huayrayeah, spreadubuntu.com is not our URL yet18:17
huayrawe must have the code ready18:17
huayraand then we can ask for the DNS redirection18:17
newz2000ok, I see a big prob18:17
newz2000you're using drupal to server static files18:17
huayraright now it is only a test site18:17
newz2000for example this url: http://ubuntu.ec/su/drupal5/?q=en/system/files/imagecache/-t64/Poster_English_Ubuntu_export_version_openversion_smalljpeg[1].jpg18:17
huayrayes18:18
huayrawhat shall we do?18:19
huayrano 1 hour cache?18:19
newz2000there is a setting in drupal that lets you serve the files directly instead of via drupal18:20
huayrayes, let me check18:20
huayraoh, but then we cannot count them...18:20
newz2000true18:20
newz2000unless you use webalizer18:21
huayraok18:22
newz2000The other option is to add more ram18:22
newz2000that will help a lot18:22
huayra512 will be enough you think?18:23
newz2000It will help a lot.18:23
huayragood answer ;)18:23
newz2000The other option is to turn off the bells and whistles. I think that would help a lot too but then you lose functionality18:23
huayrayeah, the ells and whistles are alpha and omega in a marketing site ;)18:24
huayrabut maybe just sing public access for files in general would make a big difference18:24
huayraDownload method:18:24
huayraPublic - files are available using HTTP directly.18:24
huayraPrivate - files are transferred by Drupal.18:24
huayrathis is what you mean, right?18:25
newz2000yes, correct18:25
huayraI think I will try that18:25
huayraI can't stand seeing the site go down again18:25
huayrabut if I activate the option again, the it regains the possibility to count the downloads, right?18:25
huayrais prefork a good choice?18:26
huayraand all the options as shown above?18:26
huayraok newz2000 thanks for your time18:28
huayrawe did remove all kind of stuff we don't use18:28
huayramodules and things like that18:28
huayralet's hope it turns out to work :)18:29
newz2000I think you need the option you have (prefork). It's not ideal but is needed for php18:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!