XFileSharing Pro - Can't locate object method "new" via package "

Powerfull XFileSharing version

Moderator: admin

Message
Author
komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

Can't locate object method "new" via package "

#1 Postby komi » Mar 04, 2010 7:56 am

Just configured my website to run through mod_perl, all paths are correct.

Code: Select all

Can't locate object method "new" via package "Session" (perhaps you forgot to load "Session"?) at index.cgi line 17.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » Mar 05, 2010 2:08 pm

*bump* I still need help.

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

XFS Pro and mod_perl not recommended

#3 Postby mrperl » Mar 06, 2010 12:51 pm

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.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#4 Postby komi » Mar 06, 2010 2:10 pm

Thanks a lot.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests