Search the web
Sign In
New User? Sign Up
apache-asp · Apache::ASP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Undefined subroutine error   Message List  
Reply | Forward Message #2249 of 2276 |
Re: Undefined subroutine error

On Wed, Nov 12, 2008 at 09:18:21AM -0800, Skylos wrote:
> Apache::Asp caches subroutine compiles within processes.
>
> Kill all running apache processes to delete their cache. (you don't
> strictly have to restart to do this (killing workers and letting apache
> restart them works too) but its easier)
>
> It works when it hits one that loaded the module version that has the
> method.
>
> It doesn't work when it hits one that loaded the module version that doesn't
> have the method.
>
> I restart apache obsessively when modifying and testing modules for exactly
> this reason.
>
> You can also ameliorate this problem by lowering the number of requests a
> process handles before restarting, at the expense of cache hits.
>
Thing is that this is happening to me on a production setup. I am not
changing anything. Even completely stopping Apache and starting it
fresh does not alleviate the problem. Something really strange is that
when I serve the content from a DocumentRoot of /srv/http/example, I
*never* get the error. However, when I use a DocumentRoot of
/srv/http/www.example.com, I do get the error from intermittently to
constantly.

Regards,

-Roberto

--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com


Wed Nov 12, 2008 9:28 pm

roberto@...
Send Email Send Email

Attachment
signature.asc
Type:
application/pgp-signature
Forward
Message #2249 of 2276 |
Expand Messages Author Sort by Date

MP gurus, I recently deployed a site using Apache::ASP. I am running up against a problem that has left me scratching my head. The site works fine on the...
Roberto C. Sánchez
roberto@...
Send Email
Nov 11, 2008
1:02 am

... Don't know if this will help, but try "rm -rf /tmp/asp". (Assuming you're using the default State DB setup.) Then restart Apache. If the state DB gets...
Warren Young
warren@...
Send Email
Nov 11, 2008
5:24 am

... I am using this setting: PerlSetVar NoState 1 So, I don't think your suggestion will help. Regards, -Roberto -- Roberto C. Sánchez ...
Roberto C. Sánchez
roberto@...
Send Email
Nov 12, 2008
11:04 am

Apache::Asp caches subroutine compiles within processes. Kill all running apache processes to delete their cache. (you don't strictly have to restart to do...
Skylos
skylos@...
Send Email
Nov 12, 2008
5:18 pm

... Thing is that this is happening to me on a production setup. I am not changing anything. Even completely stopping Apache and starting it fresh does not...
Roberto C. Sánchez
roberto@...
Send Email
Nov 12, 2008
9:28 pm

Well you probably already thought of this but: It appears that the global.asa (and thus Example::Image.pm) get compiled into different packages then...
Tsirkin Evgeny
tsirkin@...
Send Email
Nov 16, 2008
9:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help