Keith Kwiatek wrote:
>
> I know there are alot of happy Apache::session users, that is why I don't
> understand why my mod_perl apache::session scripts are hanging.... I didn't
> mean to "blame" apache::session, just ask for some help in figuring out what
> is going on.... that is one of the purposes of a listserv, isn't it?
>
> To recap.... I have a solaris 2.7 box with apache 1.3.6, mod_perl and
> apache::session.... and my scripts intermittently hang, and also when I try
> to update a variable in a session, the variable sometimes never updates (but
> the script seems to complete)?
>
> I just wanted to ask if anyone had this happen to them....I was NOT blaming
> apache::session! I did want to find out what I AM DOING WRONG! .....or if it
> is a problem with solaris..... any happy silient users using solaris with
> apache::session?
Can you do some basic debugging with this box? Try attaching to hung
process with 'gdb' and see what it is doing. Use the 'strace' program
to look at syscalls it is making. Use the ps command to see what state
the processes are in.
Further, if you are using the semaphore locking mechanism, check your
semaphores. Is one of them stuck on? Seems unlikely since you say you
can write to the session hash but you can't overwrite a variable ...?
-jwb