Try mod_wsgi 3.5 since you are using Apache 2.4. You may be hitting the
issue fixed in it.

http://code.google.com/p/modwsgi/wiki/ChangesInVersion0305

Graham


On 19 November 2012 22:08, Milind Utsav <[email protected]> wrote:

> My configuration files lines are:
> WSGIDaemonProcess debug thread=1
> WSGIProcessGroup debug
>
> Should I change them?
>
> And I am using a separate database.
>
>
> On Mon, Nov 19, 2012 at 3:11 PM, Graham Dumpleton <
> [email protected]> wrote:
>
>> If by debug mode you mean running Apache in single process mode, don't do
>> that.
>>
>> Change configuration to 1 daemon process and 1 daemon thread. Attach gdb
>> to the process ID of that daemon process and then fire off the request.
>>
>> If you are loosing sessions, sounds like you are using an in memory
>> session database rather than a separate database. Being in memory, each
>> daemon process will have a separate copy.
>>
>> Graham
>>
>>
>>
>> On 19 November 2012 20:35, Milind <[email protected]> wrote:
>>
>>> It sounds weird but switching the WSGI process from daemon mode to debug
>>> mode resolved the issue.
>>> Now I have some new problems.
>>>
>>> Are there any known issues with session management in Apache and
>>> mod_wsgi? Because my session is lost immediately after I log in.
>>> Do I need to configure something for the session/cookies?
>>>
>>>
>>> On Monday, November 19, 2012 1:55:40 PM UTC+5:30, Milind wrote:
>>>
>>>> I am close to getting Apache perfect. But when I try to login into my
>>>> site, it redirects me back to the index page[due to my redirection,I
>>>> think]. But the main issue that I see in the error_log file, is the
>>>> Segmentation fault.
>>>>
>>>> *[Sun Nov 18 17:20:46.608034 2012] [core:notice] [pid 6021:tid
>>>> 140296226637568] AH00052: child pid 6022 exit signal Segmentation fault 
>>>> (11)
>>>> *
>>>> *
>>>> *
>>>> I checked for multiple versions of Python. I just have Python2.7
>>>> installed. No mod_python module is configured on my system.
>>>> Also, I checked whether it was happening due to pyexpat. It passes that
>>>> test too. I referenced this link : http://code.google.com/p/**
>>>> modwsgi/wiki/**IssuesWithExpatLibrary<http://code.google.com/p/modwsgi/wiki/IssuesWithExpatLibrary>
>>>>
>>>> I am pretty stuck here. Help, please.
>>>>
>>>> Thanks,
>>>> Milind.
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "modwsgi" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/modwsgi/-/Tf0ckFB82nkJ.
>>>
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/modwsgi?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/modwsgi?hl=en.
>>
>
>
>
> --
> Milind Utsav,
> Software Developer,
> Teritree Technologies Pvt. Ltd.
> Contact : [email protected]
>               +91-9742565861
>
>  --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to