Re: [Zope-dev] Zope crash & restart

2002-05-20 Thread Jens Vagelpohl

> I did. What is standard procedure if the situation like the one I've met 
> appears? What is scenarion from bug report to product release without the 
> bug found?

i don't know. the people on the python-dev mailing list could help you with 
that question.

jens



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-20 Thread Myroslav Opyr

Jens Vagelpohl wrote:

> add your comment, encouragement, flames et to the sourceforge bug 
> tracker issue. i guess that would help most. 

I did. What is standard procedure if the situation like the one I've met 
appears? What is scenarion from bug report to product release without 
the bug found?

m.

> jens
>
> On Wednesday, May 15, 2002, at 10:55 , Myroslav Opyr wrote:
>
>> Hi,
>>
>> it look like it works! I have to give site some time to run to be sure.
>>
>> Where I can vote for a bug or to give comments? On SF.tracker issue? to
>> make it go into release.
>>
>> As far as I understand the patch is quick-hack to make it work and do 
>> not
>> solve the issue completely, just increase the stack size... There should
>> be better solution, isn't it?
>>
>> Will it go into Python-2.1.4?
>>
>> m.
>> -- 
>> Myroslav Opyr
>> zope.net.ua * Ukrainian Zope Hosting
>> e-mail: [EMAIL PROTECTED]
>> cell: +380 50.3174578
>>
>> On Wed, 15 May 2002, Behrens Matt - Grand Rapids wrote:
>>
>>> Myroslav Opyr wrote:
>>>
 As far as I remember the issue was solved in Python 2.1.3, wasn't 
 it? Or
 it was GC patch?
>>>
>>> No.
>>>
>>> Try my patch, that solves the problem Jens is talking about. 
>>
-- 
Myroslav Opyr
zope.net.ua  ° Ukrainian Zope Hosting
e-mail: [EMAIL PROTECTED] 
cell: +380 50.3174578






___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Jens Vagelpohl

this particular issue is *not* solved in 2.1.3

jens


On Wednesday, May 15, 2002, at 10:00 , Myroslav Opyr wrote:

> As far as I remember the issue was solved in Python 2.1.3, wasn't it? Or
> it was GC patch?
>
> Ok, I'll try to patch sources...
>
> m.
> --
> Myroslav Opyr
> zope.net.ua * Ukrainian Zope Hosting
> e-mail: [EMAIL PROTECTED]
> cell: +380 50.3174578
>
>
> On Wed, 15 May 2002, Jens Vagelpohl wrote:
>
>> python has a crashbug under FreeBSD due to FreeBSDs *tiny* thread stack
>> size.
>>
>> search the mailing list, there were posts with workarounds. 
>> unfortunately,
>>   those workarounds involve patching python sources and recompiling.
>>
>> jens
>>
>>
>> On Wednesday, May 15, 2002, at 09:50 , Myroslav Opyr wrote:
>>
>>> Hi,
>>>
>>> There is installation:
>>>
>>> Zope Version
>>>   (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3,
>>> freebsd4)
>>> Python Version
>>>   2.1.3 (#1, May 5 2002, 06:29:09) [GCC 2.95.3 20010315 (release)
>>> [FreeBSD]]
>>> System Platform
>>>   freebsd4
>>>
>>> ZODB contains an instance of modified CMFSite (translated in Ukrainian,
>>> CMFSiteUA).
>>>
>>> System works perfectly well even on Zope 2.5.0 on Win32 platform but
>>> crashes on FreeBSD.
>>>
>>> Site was Exported (from Win32) and Imported (to FreeBSD). Local 
>>> Filesystem
>>> View folders were deleted and recreated manually.
>>>
>>> As soon as somebody tries to touch that CMFSiteUA Zope crashes and
>>> restarts. Workaround found is: to enter management interface somwhere
>>> deeper, for example /Examples/manage or /Control_Panel/manage. Then Zope
>>> loads parts of the system into RAM and appears possibility to run the
>>> site.
>>>
>>> Sooner or later, when there is sufficient time-frame to unload all 
>>> objects
>>> out of the RAM cache (no user activity), system turns back into unusable
>>> state and again there is need to bring it up with /Control_Panel/manage.
>>> .
>>> .
>>>
>>> Any hints? BTW, there is absolutely no output in debug mode. Just usual
>>> INFO(0) messages on startup. Crash and again usual messages. Watchdow
>>> process remains into memory but new child performing requests processinf
>>> are respawned. And again INFO(0) messages are flushed into stdout...
>>>
>>> Any help would be appreciated.
>>>
>>> Regards,
>>>
>>> Myroslav
>>> --
>>> Myroslav Opyr
>>> zope.net.ua * Ukrainian Zope Hosting
>>> e-mail: [EMAIL PROTECTED]
>>> cell: +380 50.3174578
>>>
>>>
>>>
>>> ___
>>> Zope-Dev maillist  -  [EMAIL PROTECTED]
>>> http://lists.zope.org/mailman/listinfo/zope-dev
>>> **  No cross posts or HTML encoding!  **
>>> (Related lists -
>>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>>  http://lists.zope.org/mailman/listinfo/zope )
>>
>>
>
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Jens Vagelpohl

add your comment, encouragement, flames et to the sourceforge bug tracker 
issue. i guess that would help most.

jens


On Wednesday, May 15, 2002, at 10:55 , Myroslav Opyr wrote:

> Hi,
>
> it look like it works! I have to give site some time to run to be sure.
>
> Where I can vote for a bug or to give comments? On SF.tracker issue? to
> make it go into release.
>
> As far as I understand the patch is quick-hack to make it work and do not
> solve the issue completely, just increase the stack size... There should
> be better solution, isn't it?
>
> Will it go into Python-2.1.4?
>
> m.
> --
> Myroslav Opyr
> zope.net.ua * Ukrainian Zope Hosting
> e-mail: [EMAIL PROTECTED]
> cell: +380 50.3174578
>
>
> On Wed, 15 May 2002, Behrens Matt - Grand Rapids wrote:
>
>> Myroslav Opyr wrote:
>>
>>> As far as I remember the issue was solved in Python 2.1.3, wasn't it? Or
>>> it was GC patch?
>>
>> No.
>>
>> Try my patch, that solves the problem Jens is talking about.
>>
>



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Myroslav Opyr

Hi,

it look like it works! I have to give site some time to run to be sure.

Where I can vote for a bug or to give comments? On SF.tracker issue? to
make it go into release.

As far as I understand the patch is quick-hack to make it work and do not
solve the issue completely, just increase the stack size... There should
be better solution, isn't it?

Will it go into Python-2.1.4?

m.
--
Myroslav Opyr
zope.net.ua * Ukrainian Zope Hosting
e-mail: [EMAIL PROTECTED]
cell: +380 50.3174578


On Wed, 15 May 2002, Behrens Matt - Grand Rapids wrote:

> Myroslav Opyr wrote:
>
> > As far as I remember the issue was solved in Python 2.1.3, wasn't it? Or
> > it was GC patch?
>
> No.
>
> Try my patch, that solves the problem Jens is talking about.
>



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Matt Behrens

Myroslav Opyr wrote:

> As far as I remember the issue was solved in Python 2.1.3, wasn't it? Or
> it was GC patch?

No.

Try my patch, that solves the problem Jens is talking about.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Matt Behrens

Myroslav Opyr wrote:

> System Platform
>   freebsd4


Are you running with the pthread stack size patches applied to Python?

See 
https://sourceforge.net/tracker/?func=detail&aid=554841&group_id=5470&atid=305470 
for the patch, and recompile Python with

OPT="-g -O2 -DTHREAD_STACK_SIZE=0x2" ./configure 
--whatever-your-options-are


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Myroslav Opyr

As far as I remember the issue was solved in Python 2.1.3, wasn't it? Or
it was GC patch?

Ok, I'll try to patch sources...

m.
--
Myroslav Opyr
zope.net.ua * Ukrainian Zope Hosting
e-mail: [EMAIL PROTECTED]
cell: +380 50.3174578


On Wed, 15 May 2002, Jens Vagelpohl wrote:

> python has a crashbug under FreeBSD due to FreeBSDs *tiny* thread stack
> size.
>
> search the mailing list, there were posts with workarounds. unfortunately,
>   those workarounds involve patching python sources and recompiling.
>
> jens
>
>
> On Wednesday, May 15, 2002, at 09:50 , Myroslav Opyr wrote:
>
> > Hi,
> >
> > There is installation:
> >
> > Zope Version
> >   (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3,
> > freebsd4)
> > Python Version
> >   2.1.3 (#1, May 5 2002, 06:29:09) [GCC 2.95.3 20010315 (release)
> > [FreeBSD]]
> > System Platform
> >   freebsd4
> >
> > ZODB contains an instance of modified CMFSite (translated in Ukrainian,
> > CMFSiteUA).
> >
> > System works perfectly well even on Zope 2.5.0 on Win32 platform but
> > crashes on FreeBSD.
> >
> > Site was Exported (from Win32) and Imported (to FreeBSD). Local Filesystem
> > View folders were deleted and recreated manually.
> >
> > As soon as somebody tries to touch that CMFSiteUA Zope crashes and
> > restarts. Workaround found is: to enter management interface somwhere
> > deeper, for example /Examples/manage or /Control_Panel/manage. Then Zope
> > loads parts of the system into RAM and appears possibility to run the
> > site.
> >
> > Sooner or later, when there is sufficient time-frame to unload all objects
> > out of the RAM cache (no user activity), system turns back into unusable
> > state and again there is need to bring it up with /Control_Panel/manage..
> > .
> >
> > Any hints? BTW, there is absolutely no output in debug mode. Just usual
> > INFO(0) messages on startup. Crash and again usual messages. Watchdow
> > process remains into memory but new child performing requests processinf
> > are respawned. And again INFO(0) messages are flushed into stdout...
> >
> > Any help would be appreciated.
> >
> > Regards,
> >
> > Myroslav
> > --
> > Myroslav Opyr
> > zope.net.ua * Ukrainian Zope Hosting
> > e-mail: [EMAIL PROTECTED]
> > cell: +380 50.3174578
> >
> >
> >
> > ___
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
>
>



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope crash & restart

2002-05-15 Thread Jens Vagelpohl

python has a crashbug under FreeBSD due to FreeBSDs *tiny* thread stack 
size.

search the mailing list, there were posts with workarounds. unfortunately,
  those workarounds involve patching python sources and recompiling.

jens


On Wednesday, May 15, 2002, at 09:50 , Myroslav Opyr wrote:

> Hi,
>
> There is installation:
>
> Zope Version
>   (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3, 
> freebsd4)
> Python Version
>   2.1.3 (#1, May 5 2002, 06:29:09) [GCC 2.95.3 20010315 (release) 
> [FreeBSD]]
> System Platform
>   freebsd4
>
> ZODB contains an instance of modified CMFSite (translated in Ukrainian,
> CMFSiteUA).
>
> System works perfectly well even on Zope 2.5.0 on Win32 platform but
> crashes on FreeBSD.
>
> Site was Exported (from Win32) and Imported (to FreeBSD). Local Filesystem
> View folders were deleted and recreated manually.
>
> As soon as somebody tries to touch that CMFSiteUA Zope crashes and
> restarts. Workaround found is: to enter management interface somwhere
> deeper, for example /Examples/manage or /Control_Panel/manage. Then Zope
> loads parts of the system into RAM and appears possibility to run the
> site.
>
> Sooner or later, when there is sufficient time-frame to unload all objects
> out of the RAM cache (no user activity), system turns back into unusable
> state and again there is need to bring it up with /Control_Panel/manage..
> .
>
> Any hints? BTW, there is absolutely no output in debug mode. Just usual
> INFO(0) messages on startup. Crash and again usual messages. Watchdow
> process remains into memory but new child performing requests processinf
> are respawned. And again INFO(0) messages are flushed into stdout...
>
> Any help would be appreciated.
>
> Regards,
>
> Myroslav
> --
> Myroslav Opyr
> zope.net.ua * Ukrainian Zope Hosting
> e-mail: [EMAIL PROTECTED]
> cell: +380 50.3174578
>
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Zope crash & restart

2002-05-15 Thread Myroslav Opyr

Hi,

There is installation:

Zope Version
  (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3, freebsd4)
Python Version
  2.1.3 (#1, May 5 2002, 06:29:09) [GCC 2.95.3 20010315 (release) [FreeBSD]]
System Platform
  freebsd4

ZODB contains an instance of modified CMFSite (translated in Ukrainian,
CMFSiteUA).

System works perfectly well even on Zope 2.5.0 on Win32 platform but
crashes on FreeBSD.

Site was Exported (from Win32) and Imported (to FreeBSD). Local Filesystem
View folders were deleted and recreated manually.

As soon as somebody tries to touch that CMFSiteUA Zope crashes and
restarts. Workaround found is: to enter management interface somwhere
deeper, for example /Examples/manage or /Control_Panel/manage. Then Zope
loads parts of the system into RAM and appears possibility to run the
site.

Sooner or later, when there is sufficient time-frame to unload all objects
out of the RAM cache (no user activity), system turns back into unusable
state and again there is need to bring it up with /Control_Panel/manage...

Any hints? BTW, there is absolutely no output in debug mode. Just usual
INFO(0) messages on startup. Crash and again usual messages. Watchdow
process remains into memory but new child performing requests processinf
are respawned. And again INFO(0) messages are flushed into stdout...

Any help would be appreciated.

Regards,

Myroslav
--
Myroslav Opyr
zope.net.ua * Ukrainian Zope Hosting
e-mail: [EMAIL PROTECTED]
cell: +380 50.3174578



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )