Actually I just discovered that the fault, not exactly the fault, but our "upload confirmation" page was set to expire 15 minutes after the upload started, so after changing that value to 3 hours, the upload page finally appears. Therefore, in reality the upload was actually getting completed...
Something else I should note down here. I have /dev/shm/ls/swap for ls swap and /dev/shm for php temp location. When file uploads are in progress, I can see the same file being written at both the swap location and /dev/shm. Although the swap contains all form elements, while the temp php file...
Alright, so got the 4.1RC3 installed, but the same problem persists! A 100MB file that took around 15 mins to upload was not received by my PHP script. However, a 330MB file that took around 14 mins to upload was received just fine... What shall I do here now?
I turned stderror logging on, but there's nothing being written to that file.
What I noticed is that a large file can be uploaded as soon as the server is restarted, and then after some time (say hour or two later), if I try to upload the same file, php doesn't receive it!
Yes, I am able to see the request body while the client is POSTing to the server.
PHP's values are also pretty much the same as pulled out from php.ini:
Directive Local Value Master Value
max_execution_time 7200 7200
max_input_nesting_level 64 64
max_input_time 7200 7200
memory_limit...
I am running a file hosting site. I recently switched over to Litespeed on one of my large storage boxes as Nginx+PHP-FPM wasn't handling file uploads properly, but mainly due to lack of support from nginx. I was hoping that LS wouldn't have the same problem, but unfortunately it does :(
The...
Below are the kernel settings:
cat /proc/sys/vm/dirty_background_ratio
10
cat /proc/sys/vm/dirty_ratio
20
However, I figured out that it was the "Cached Memory" that needed to be freed up, so I ran this and the memory usage came down to 100k+
echo 3 > /proc/sys/vm/drop_caches...
Hello :)
I recently took over a file hosting site (similar to rapidshare, megaupload hotfile etc.) that receives ~ 80k visitors a day. Currently files are being served from multiple 100 Mbps uplink dedicated servers, which will be consolidated into single servers later after the system upgrade...
I ended up using this:
Redirectmatch 301 ^/webmail/ http://mail.server.com/webmail/
Redirectmatch 301 ^/Books/ http://www.server.com/books/
I will give your lines a try too...
Why won't this work in .htaccess?
Redirect permanent ^/webmail/ http://mail.server.com/webmail/
Redirect permanent ^/Books/ http://www.server.com/books/
It has been working great since years in apache and now litespeed can't parse these lines :-(
I do thousands of IP lookups per second thru the IP2location DB in Apache thru MySQL since IP2location doesn't have support as an Apache Module.
I see that Litespeed supports Maxmind DB, but how about Ip2Location's DB? I already purchased IP2location DB5 and I don't think I can afford Maxmind...
Litespeed Working
I spent a few hours getting the latest PHP 5.2 compiled and everything seems to be running great! I will now go ahead and purchase the enterprise edition. For future visitors to this thread, this is what I did:
1) Downloaded latest LSWS 3.0 and Module files.
2) Got the...
I'm running Opensuse 64-bit with hardened PHP5. I noticed that lsphp comes with php 4.4. Is there any way I can use PHP5 LSAPI without recompiling PHP5? If I have to, I cannot recompile PHP5 because if I were to install on the production machine, and if something goes wrong, I'll be losing tons...