| View previous topic :: View next topic |
| Author |
Message |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Mar 04, 2010 7:56 am Post subject: Can't locate object method "new" via package " |
|
|
Just configured my website to run through mod_perl, all paths are correct.
| Code: | | Can't locate object method "new" via package "Session" (perhaps you forgot to load "Session"?) at index.cgi line 17. |
|
|
| Back to top |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Mar 05, 2010 2:08 pm Post subject: |
|
|
| *bump* I still need help. |
|
| Back to top |
|
 |
mrperl
Joined: 06 Mar 2010 Posts: 65
|
Posted: Mar 06, 2010 12:51 pm Post subject: XFS Pro and mod_perl not recommended |
|
|
Hi komi.
I am running XFS Pro 1.7 experimentally under ModPerl::PerlRun, but
do not recommend that for typical users at this time. ModPerl::Registry
segfaults on WSD::Filter, so don't expect that mode to work reliably.
From looking at the source code, Alex is gradually updating it to run
under mod_perl, but it's not ready yet as indicated by many warnings
under perl -w.
If you still insist on running mod_perl, then set the correct paths
to your perl modules in a startup.pl file with use lib '/mypath', and try to
use the default directory structure for now or you'll regret it.
Thanks, mrperl.
Apache Bench reporting 10% failed requests (988/10,000):
Document Path: /app/index.cgi
Document Length: 6985 bytes
Concurrency Level: 100
Time taken for tests: 124.182474 seconds
Complete requests: 10000
Failed requests: 988
(Connect: 0, Length: 988, Exceptions: 0)
Write errors: 0
Total transferred: 71709270 bytes
HTML transferred: 69849270 bytes
Requests per second: 80.53 [#/sec] (mean)
Time per request: 1241.825 [ms] (mean)
Time per request: 12.418 [ms] (mean, across all concurrent requests)
Transfer rate: 563.91 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 8 16.7 0 162
Processing: 57 1226 190.2 1225 11379
Waiting: 56 1224 189.9 1223 11378
Total: 57 1235 189.7 1232 11379
Example of runaway XFS Pro ModPerl::PerlRun process on server start
using all swap space:
Mem: 8174024k total, 8132492k used, 41532k free, 284k buffers
Swap: 2096472k total, 2096472k used, 0k free, 5648k cached
15985 httpd 18 0 19.4g 7.7g 84 D 15.1 98.3 0:12.09 httpd
Last edited by mrperl on Mar 07, 2010 9:11 am; edited 5 times in total |
|
| Back to top |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Mar 06, 2010 2:10 pm Post subject: |
|
|
| Thanks a lot. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|