0

I'm trying to set the MaxRequestInMem, MaxRequestsPerProcess and MaxRequestLen but it keeps on saying that it's an Invalid command 'MaxRequestInMem', perhaps misspelled or defined by a module not included in the server configuration.

I put this directive inside <IfModule mod_fcgid.c>.

I also tried loading the mod_fcgid.so module in httpd.conf as so:

LoadModule fcgid_module modules/mod_fcgid.so

and it actually gives a warning saying that module fcgid_module is already loaded, skipping

I tried changing the directives from the old name to the new name (FcgidMaxRequestsPerProcess) and it still says that it's an invalid command.

Has anyone else experienced this strange behavior?

By the way, I'm receiving an error saying (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function so it seems to me that mod_fcgid is loaded/being used. And it's also the reason why I want to set those directives. I just don't get it why it won't recognize the directives though.

What should I do to be able to set those directives?

0

It already loaded

it means , you have LoadModule include multiple conf file. , Please check all included conf file .

I tried changing the directives from the old name to the new name (FcgidMaxRequestsPerProcess) and it still says that it's an invalid command.

It possible to version support.

2
  • so what can I do to be able to set those directives?
    – Pax
    Jun 21 '13 at 17:04
  • Ok, I just figured that we have a very old version of mod_fcgid. We have to update, then. Thanks for the answer.
    – Pax
    Jun 21 '13 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.