httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MK <>
Subject [users@httpd] (22)Invalid argument
Date Tue, 30 Nov 2010 23:11:22 GMT
I'm trying to set up a cgi rss feed on a remote server to which I do
not have root access.

This is to replace an existing feed which is a static file periodically
updated, so what I want to do is set, in the directory with the
existing feed:

Options +ExecCGI
AddHandler cgi-script xml

Then we will replace the "feed.xml" with a cgi script, or a symlink to
such.  This works fine for me here where I have root access to the
server.  It also works fine on the remote server, but only in the
previously existing cgi-bin.  We don't want to change the url, so that
is no good.

I can get the site conf updated, but I have to email the sysadmins.  So
now the directory is set as above, but when I try to access the feed I
get a 500 error and in the log:

(22)Invalid argument: setting of resource limits failed
Premature end of script headers: feed.xml

We do have Rlimits set (and I can change those, again via email), but
I am confused by the fact that the exact same process in the existing
cgi-bin works fine whereas in the rss directory I get this error --
obviously, it is executing as a cgi process, but perhaps it wants to
start a new (perl) interpreter or something and thus violates the mem

It is not at all clear to me, after googling, that this error even has
to do with Rlimits, and it is not mentioned in the apache docs at all.

Does anyone know what it might refer to?


"The angel of history[...]is turned toward the past." (Walter Benjamin)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message