nginx 1.2.1 won't start with large CRL

Maxim Dounin mdounin at mdounin.ru
Thu Jun 21 14:18:01 UTC 2012


Hello!

On Thu, Jun 21, 2012 at 01:36:27PM +0000, Hoffman, Brian [USA] wrote:

> 
> I have a CRL loaded into ssl_crl variable in the config file that's about 256MB in size and nginx won't start. I get the following error:
> 
> nginx: [emerg] fork() failed (12: Cannot allocate memory)
> 
> I believe this is due to nginx trying to load the file into memory and it's bombing. It maxes out my server's RAM and then just crashes.

I would rather rewrite the subject as "nginx won't start if there 
isn't enough memory".  It won't.  Try adding more memory and/or 
find a way to keep your CRL small.

Maxim Dounin



More information about the nginx mailing list