RE: CS_MEM_ERROR only in CGI execution environment
John J Lee <[email protected]> Wed, 11 Aug 2004 21:53:36 +0100 (BST)
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <Pine.LNX.4.58.0408112144370.5480@alice> |
On Wed, 11 Aug 2004, Charles Bearden wrote: [...] > I don't know what web server you are running or which version, but in a > previous job, when I routinely built the latest Apache 1.3 with some > bells and whistles, I recall there being some issues caused by mm shared > memory lib support being compiled in. I was using mod_perl and mod_php [...] mm = memory mapped? AFAIK, the server in question wasn't built for that, but it's an idea. Thanks. > One tip: 'os.environ' is a dictionary of environment variables for the > current script. You can use this dictionary to initialize your script > to precisely the same environment your interactive shell enjoys, e.g.: [...] Sure. I did that first. The shell script wrapper was simply paranoia and/or superstition ;-) John