How do you setup the session?

myshare wrote:
> Just tried strace... what I see is that the the stalling happens at
> the following call :
>
> stat("/usr/lib64/perl5/5.8.8/utf8.pm", {st_mode=S_IFREG|0444,
> st_size=7604, ...}) = 0
> stat("/usr/lib64/perl5/5.8.8/vars.pm", {st_mode=S_IFREG|0444,
> st_size=2358, ...}) = 0
> stat("/usr/lib64/perl5/5.8.8/warnings.pm", {st_mode=S_IFREG|0444,
> st_size=15879, ...}) = 0
> stat("/usr/lib64/perl5/5.8.8/warnings/register.pm",
> {st_mode=S_IFREG|0444, st_size=1023, ...}) = 0
> flock(11, LOCK_EX
>
> nothing after that !!
>
> if I look in some of the previous requests this call happens when the
> session data has to be accessed i.e.
> (except that it is LOCK_SH instead  exclusive)
>
> fcntl(1, F_SETFD, 0)                    = 0
> flock(1, LOCK_SH)                       = 0
> stat("/tmp/sessions/data/3735f69fa890ecb6d8ccb0a771b95431",
> {st_mode=S_IFREG|0644, st_size=129, ...}) = 0
> open("/tmp/sessions/data/3735f69fa890ecb6d8ccb0a771b95431",
> O_RDWR|O_CREAT, 0666) = 12
> ioctl(12, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffff971b70) = -1 ENOTTY
> (Inappropriate ioctl for device)
> lseek(12, 0, SEEK_CUR)                  = 0
> fstat(12, {st_mode=S_IFREG|0644, st_size=129, ...}) = 0
> fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
> read(12, "\5\7\3\0\0\0\5\10\201\0\0\0\16user_tags_page\n 373"..., 4096) = 129
> read(12, "", 4096)
>
> so that is it !! how to proceed from here?
> I'll try if I can to disable the session handling , to see if it
> works? but i have to use session ;(
>
>
> On Nov 28, 2007 11:00 AM, Jonathan Swartz <[EMAIL PROTECTED]> wrote:
>   
>> Have you tried determining where the process is hanging?
>>
>> http://perl.apache.org/docs/1.0/guide/
>> debug.html#Determination_of_the_reason
>>
>>
>> On Nov 28, 2007, at 10:51 AM, myshare wrote:
>>
>>     
>>> hi,
>>>
>>> I have the following problem. When I use the following code :
>>>
>>> <%init>
>>> ....
>>> if ($error) {
>>>   $m->comp('/error.mas');
>>>   $m->abort
>>> }
>>> ....
>>> </%init>
>>>
>>> at the moment ->abort() is executed, any subsequent request from the
>>> same browser just stalls i.e. takes forever  i.e. does not display
>>> anything..does not finish.
>>> (even if I restart the browser). The only solution is to restart
>>> the apache.
>>> Now the interesting part let say I've done the previous tests with
>>> Firefox and open the site with 'links"-console borwser the site work
>>> !!!!
>>> I made another test with ie4linux-ie6 and it also "stalls", and the
>>> same behavior if I try after that to open the site with FF it works
>>> ok,
>>> but if I want the site to work again with ie4linux-ie6 I have to
>>> restart the apache ?
>>> ( I do print some debugging in the error log and it seems that the
>>> page is generated successfully)
>>>
>>> Any idea why I get this weird behavior ? and more importantly how
>>> to resolve it.
>>>
>>> I don't want to flush or clear the output, just to abort after I
>>> display the error after autohandler already build the template..
>>> I think this could have something to do with the browser in some way
>>> attaching to a specific apache-child!, but still how to
>>> solve the problem.
>>>
>>> thanx alot
>>>
>>> ----------------------------------------------------------------------
>>> ---
>>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>>> from Novell.  From the desktop to the data center, Linux is going
>>> mainstream.  Let it simplify your IT future.
>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>>> _______________________________________________
>>> Mason-users mailing list
>>> Mason-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mason-users
>>>
>>>       
>>     
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
>
>   

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to