[05:01]  * I_AM_EJACULATING slaps her pussy for FREEDOM!  CHOLBY RULES
[08:08] <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?
[09:00] <lordievader> Good morning.
[12:22] <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:27] <ikonia> apache doesn't set the priority
[12:27] <ikonia> the scheduler does
[12:28] <mollox> ok
[12:28] <mollox> thanks
[12:29] <mollox> be nice to set nice .. bnvm
[12:31] <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:32] <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:33] <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:34] <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:35] <mollox> encrypt at source and decrypt at dest adds a serious over head for 12gb
[12:37] <mollox> normal priority gives about 1.8mb/sec over 100mbit LAN
[12:37] <mollox> nice=-20 gives about 2.4mb/sec
[12:38] <ikonia> disagree
[12:39] <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:40] <mollox> its a 100mbit not Gbit
[12:40] <mollox> server is an old intel p4 2.3ghz
[12:42] <maswan> yeah, that's the generation of hardware that were among the first to be able to solidly sustain gigE
[12:43] <mollox> cpu load is ~14%
[12:43] <mollox> with ssl the jumps to ~35%
[12:43] <mollox> ~25%*
[12:44] <mollox> its working fine .. just wondered about the apache2 config and nice .. many programs let you set it in config .. not apache .. nvm
[12:45] <RoyK> mollox: how is the load average as reported by for instance 'uptime'?
[12:46] <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:47] <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:48] <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:49] <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:50] <mollox> its done a great job in its lifetime
[12:58] <mollox> Phew ! saved by wget .. thought it was gonna bail out at 93%
[13:07] <mollox> all done .. thanks for your time .. b4n