httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Danenberg <...@roxygen.org>
Subject [users@httpd] FcgidAccessChecker hangs.
Date Sun, 11 Nov 2012 10:05:32 GMT
The following trivial script,[1] which simply returns a 200 header,
hangs under FcgidAccessChecker:

  (call-with-dynamic-fastcgi-query
   (λ (query)
     (display-status-&c.)))

The same script works fine under mod_fastcgi with
FastCgiAccessChecker; or handled as an fcgid-script or fastcgi-script.

The output from error_log is as follows:

  [Sun Nov 11 01:39:44 2012] [info] mod_fcgid: server
  localhost:/usr/local/var/html/scm/api/access.scm(15965)
  started

  [Sun Nov 11 01:40:24 2012] [warn] [client 127.0.0.1] mod_fcgid: read
  data timeout in 40 seconds

  [Sun Nov 11 01:40:24 2012] [error] [client 127.0.0.1] Premature end of
  script headers: access.scm

  [Sun Nov 11 01:40:24 2012] [warn] [client 127.0.0.1] mod_fcgid: user
  (null) access check failed, respond 500, URI /scm/api/access.scm

  [Sun Nov 11 01:40:26 2012] [debug] fcgid_pm_main.c(357): mod_fcgid:
  gracefully terminated 1 processes

How can I diagnose the problem? I find it interesting that it works
under mod_fastcgi but not mod_fcgid; I'm not sure whether that implies
the problem is in mod_fcgid, however.


Footnotes: 
[1]  The script is written in Chicken Scheme, by the way.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message