Knowledgebase

Optimize lighttpd for video site

Posted by hichamnaima, 09-12-2010, 09:10 AM
Hello I have a special site for video Server runs by lighttpd-1.4.18 Server Information : 12 gb ram pross : intel I7 Hard Drive 1 : 1500 mb Hard Drive 2 : 1500 mb Hard Drive 3 : 1500 mb Hard Drive 4 : 750 mb network port : 1 gb Video files on the server over an area of : 300 mb my optimizations.conf But I'm having a problem : 500 - Internal Server Error Ousbanda problem almost every hour or two And especially at peak times Thank you ^^

Posted by tanfwc, 09-12-2010, 09:12 AM
Have you take a look at your error log when you experiencing HTTP 500 error?

Posted by hichamnaima, 09-12-2010, 09:15 AM
error log

Posted by tanfwc, 09-12-2010, 09:26 AM
Show the output of:

Posted by hichamnaima, 09-12-2010, 09:28 AM
ulimit -a : core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 212992 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 212992 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ^^

Posted by barbus, 09-12-2010, 10:58 AM
lighttpd exceeds open files limit. Take a look at this.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read


Language:

Client Login

Email

Password

Remember Me

Search