93 reputation
11
bio website
location Munich, Germany
age
visits member for 2 years, 8 months
seen May 25 at 13:59

Jun
19
awarded  Popular Question
May
4
comment Emails from web site sometimes blank or gibberish
I encountered (and still encounter) the same problem - no matter if using mail() directly or PHPmailer. About 1 in 1000 mail adresses receives a seemingly empty email (but only one, not another...). Actually, the source code of the mail is still contained, but the MIME structure was changed, making the content invisible in mail clients. My best guess is that some process on the mail's way reads the structure wrong and creates a new structure. Although, there is no systematical correlation with the receiving mail server, mail client, the mail's content or such...
Aug
17
comment gallery2 and nginx with rewrite return file not found for file name with space (or + sign in url)
Please note that a space is (correctly) replaced by a plus (+) in the form data if a specific encoding is chosen (stackoverflow.com/questions/2678551/…). In URLs the correct encoding is %20. The latter is replaced by a space before the nginx rewrite engine is applied. Try this: Replace a space by %20 during rewriting the URL.
Aug
16
accepted Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Aug
15
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Ah - got it. I thought, you'd refered to the apache setting MaxRequestsPerProcess, not the fcgid setting FcgidMaxRequestsPerProcess... I'll still have to be careful, as most requests want PHP scripts (images are well cached), but I shall give this a try. Thanks!
Aug
14
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
I do not use non-default packages/modules in PHP and I hope, that the default packages have few memory leaks. However, you never know... Now I understand the issue of leaks and deadloops much better. Thank you very much for the explanation.
Aug
14
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
I am afraid, my understanding of memory leaks if limited. As I working with PHP, I have put a memory limit (128 M) n each script. Only in rare occasions, a script will actually need this limit. However, if the limit is exceeded or the script hangs in a deadloop, I usually see a "memory exceeded" or "execution time exceeded" error in my PHP logs. But those I once had, have long been bugfixes - there have not been such errors for a while. So: Am I really looking for memory leaks and deadlocks?
Aug
14
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Could be go further regarding the 1000 requests before killing the worker process? In my understanding, it takes some time to start the process, so a higher value should be more efficient (given everything works). If I set the value to 50, that would just be enough to server the homepage 10 times (1 HTML + 4 images). Having about 30 requests per second, wouldn't the server spend a lot of time on starting new processes?
Aug
14
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Thanks for your answer. It's a pity that I was not yet able to log in during such a "fail" as they are quite rare and only few minutes. However, munin did not record atypical system values (e.g. disk latency or load) for the relevant time frames. According to memory use, no more than 3 or 4 processes have been started - so there should be more than enough buffer...
Aug
14
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Thread safety should not be an issue when working with CGI (fcgid) instead of the apache PHP module.
Aug
13
comment Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Good point - added version to the question.
Aug
13
revised Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Added versions
Aug
12
answered Apache HTTPD process cumulative cpu time
Jul
29
awarded  Teacher
Jul
29
revised Nginx Subdirectory Drupal + other app
link to manual
Jul
29
answered Nginx Subdirectory Drupal + other app
Jul
29
comment Conflict with 3 different RewriteRules in .htaccess?
Have you considered actually redirecting the clients instead of rewriting the filenames internally? Depending on what the user shall see, this might be sensible.
Jul
29
comment .htaccess redirect all extension to php
Du you actually want to redirect the .html etc. extensions the the files without extension or do you want to rewrite the file names internally? I do not see a redirect in you code?!
Jul
29
asked Apache mpm-worker + mod_fcgid + php5_cgi partially and sporadically down
Jul
14
awarded  Benefactor