tested, upload a 27M file and was successful.
no control panel in this server, vhost is native lsws vhost.
at first I noticed
vhost: xxx->External App->$VH_NAME_lsphp has problem:
Max Connections:5
Environment:Not Set
Instances:500
changed back to default server level lsphp5, then testing upload, no problem.
the server has 24G memory. 'top -c' shows a lot of
lsphp5:w/vhosts/domain.com/httpdocs/modules.php
consumed CPU most.
so I tuned default external app: lsphp5, change max connections from 35 to 100. i.e.,
Max Connections:100 (from 35)
Environment:
PHP_LSAPI_MAX_REQUESTS=500 (no change)
PHP_LSAPI_CHILDREN=100 (from 35)
another important change:
...../domain.com/httpdocs/includes>chown -R nobody:nobody cache
this is because lsphp5 running as nobody, so cache folder should be owned by nobody as well.
after above 3 changes, as far as I noticed, the website has become quite fast.
here's the problem reported by user:
"Once we hit 4000 online it starts to get very slow"
Let's watch what's going on after above changes.
the lsws version is 4.1