=== lool- is now known as lool | ||
=== m1dnight1 is now known as m1dnight_ | ||
* I_AM_EJACULATING slaps her pussy for FREEDOM! CHOLBY RULES | 05:01 | |
hicoleri | I there a definitive guide I can follow to learn about setting up a webserver, server-side scripting in the language I want and websockets? | 08:08 |
---|---|---|
=== Tegu_ is now known as Tegu | ||
lordievader | Good morning. | 09:00 |
mollox | hi (i come here as directed by https://help.ubuntu.com/lts/serverguide/httpd.html ) | 12:22 |
mollox | does anybody know if it is possible to increase the apache2 process priority | 12:22 |
mollox | in the config | 12:22 |
ikonia | apache doesn't set the priority | 12:27 |
ikonia | the scheduler does | 12:27 |
mollox | ok | 12:28 |
mollox | thanks | 12:28 |
mollox | be nice to set nice .. bnvm | 12:29 |
ikonia | should you really need to set it ? | 12:31 |
ikonia | if you need apache at a high priority than the scheduler thinks....are you using apache right | 12:31 |
mollox | if i set it through system-monitor i get a tiny bit better download speed over LAN | 12:31 |
ikonia | download speed ? | 12:32 |
ikonia | what's the actual problem you're trying to solve | 12:32 |
mollox | it's not that important .. but i am copying 12gb .. and waiting a long time :) | 12:32 |
ikonia | 12GB over http | 12:32 |
mollox | yeah | 12:32 |
ikonia | doesn't seem the best of ideas | 12:32 |
ikonia | nice'ing apache shouldn't be required, | 12:33 |
mollox | i could use a usb disk .. | 12:33 |
ikonia | why are you using http ? | 12:33 |
ikonia | why not something like rsync | 12:33 |
mollox | nice=-20 gives me just a bit better speed | 12:33 |
mollox | rsync uses ssl | 12:33 |
ikonia | mollox: thats a false economy | 12:33 |
mollox | it's only for me | 12:33 |
ikonia | so ? | 12:33 |
ikonia | what's the problem with rsync | 12:33 |
mollox | ssl overhead | 12:34 |
ikonia | nonsense | 12:34 |
ikonia | it will be quicker than 12GB over http | 12:34 |
ikonia | and if you drop a packet you don't have to start again | 12:34 |
mollox | tried it .. it is maybe 150% more | 12:34 |
mollox | time | 12:34 |
ikonia | no way | 12:34 |
ikonia | you have a problem ten | 12:34 |
ikonia | thne | 12:34 |
mollox | well it is on my old rig | 12:34 |
ikonia | then | 12:34 |
mollox | encrypt at source and decrypt at dest adds a serious over head for 12gb | 12:35 |
mollox | normal priority gives about 1.8mb/sec over 100mbit LAN | 12:37 |
mollox | nice=-20 gives about 2.4mb/sec | 12:37 |
ikonia | disagree | 12:38 |
mollox | do it and see .. i am doing it now | 12:39 |
mollox | anyway .. it's only for one file and only need it done once | 12:39 |
maswan | what kind of servers are these? it's been a long, long time since a normal httpd would saturate a gigE with insignficant cpu load | 12:39 |
mollox | its a 100mbit not Gbit | 12:40 |
mollox | server is an old intel p4 2.3ghz | 12:40 |
maswan | yeah, that's the generation of hardware that were among the first to be able to solidly sustain gigE | 12:42 |
mollox | cpu load is ~14% | 12:43 |
mollox | with ssl the jumps to ~35% | 12:43 |
mollox | ~25%* | 12:43 |
mollox | its working fine .. just wondered about the apache2 config and nice .. many programs let you set it in config .. not apache .. nvm | 12:44 |
RoyK | mollox: how is the load average as reported by for instance 'uptime'? | 12:45 |
mollox | 13:45:46 up 2:41, 3 users, load average: 3.28, 2.78, 2.51 | 12:46 |
RoyK | mollox: how many cpu cores? | 12:46 |
mollox | server = 2cpu (not cores tho) | 12:46 |
mollox | pentium4 2.3ghz x2 | 12:47 |
RoyK | generally, the load average shouldn't be higher than core count | 12:47 |
RoyK | that indicates a heavily loaded system | 12:47 |
RoyK | either cpu or I/O or both | 12:47 |
mollox | i guess it is a bit over loaded | 12:47 |
RoyK | not a lot, though | 12:48 |
mollox | well .. gotta get the most out of it ;) | 12:48 |
RoyK | how old is this box? | 12:48 |
mollox | oooold .. 10years or so | 12:48 |
RoyK | probably older | 12:49 |
mollox | i expect it was when first launched .. i had this for 10years ish | 12:49 |
mollox | and it is XPC-Shuttle (SIS chipset i think) | 12:49 |
mollox | its done a great job in its lifetime | 12:50 |
mollox | Phew ! saved by wget .. thought it was gonna bail out at 93% | 12:58 |
mollox | all done .. thanks for your time .. b4n | 13:07 |
=== prince|offline is now known as prince | ||
=== lazyPower is now known as lazypower-travel | ||
=== prince is now known as prince|offline | ||
=== JanC is now known as Guest65761 | ||
=== JanC_ is now known as JanC | ||
=== ejat_ is now known as ejat | ||
=== bleepy_ is now known as bleepy | ||
=== prince|offline is now known as prince | ||
=== prince is now known as prince|offline | ||
=== prince|offline is now known as prince | ||
=== Bray90820_ is now known as Bray90820 | ||
=== prince is now known as prince|offline |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!