Re: [Webware-devel] Webware killed

2008-07-09 Thread Damiano Morosi
Hi,

thanks for your suggestions. The only thing prensent in 
/var/log/messages are the following lines:

Jul  9 15:25:14 fe-oracle VMS:  failed
Jul  9 15:25:14 fe-oracle VMS:  succeeded
Jul  9 15:28:53 fe-oracle VMS:  failed
Jul  9 15:28:53 fe-oracle VMS:  succeeded
Jul  9 15:59:47 fe-oracle VMS:  failed
Jul  9 15:59:47 fe-oracle VMS:  succeeded

and I don't know what they mean, seems like the service fail and then 
succeed each time. Now I'll try to comment out the oracle module and 
'fake' the connection to db to determine if this is the cause.
Thanks for your support, I'll keep you informed!

Ben Parker ha scritto:
> That looks like the os might have killed the process. Check your syslogs 
> - did you exceed a memory limit?
> 
> Damiano Morosi wrote on 7/9/08 7:31 AM:
>> Hi all,
>>
>> I'm experimenting webware for the first time to use it in my enterprise. 
>> I've developed an XML-RPC service in Python (obviously!) that connect to 
>> an Oracle db, make some queries and return the results.
>> Under medium usage (5-10 requests every 5 minutes), the webware app 
>> server kill himself and output the following:
>>
>> /home/xxx/yyy/AppServer: line 27: 14440 Killed 
>> $PYTHON$PY_OPTS Launch.py ThreadedAppServer $*
>>
>> these are the last lines of the activity log:
>>
>> 92.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
>> 2008,1.49,False
>> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
>> 2008,2.35,False
>> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
>> 2008,3.19,False
>> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
>> 2008,4.06,False
>>
>> while no trace of this error is reported in the errors log. Am I missing 
>> something? Thanks for your help,
>>
>>   
> 
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> Webware-devel mailing list
> Webware-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/webware-devel
> 

-- 
Dott. Damiano Morosi
Atac S.p.A. - Agenzia per la Mobilità del Comune di Roma
Direzione Sistemi - Area Centrale della Mobilità
Sviluppo funzioni sistemiche della Centrale
00157 Roma - Via Ostiense, 131/L
Tel.:  (+39) 0646959361
Mail:  [EMAIL PROTECTED]
Skype: damiano.morosi
Web:   http://www.atac.roma.it

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] Webware killed

2008-07-09 Thread Ben Parker
That looks like the os might have killed the process. Check your syslogs 
- did you exceed a memory limit?

Damiano Morosi wrote on 7/9/08 7:31 AM:
> Hi all,
>
> I'm experimenting webware for the first time to use it in my enterprise. 
> I've developed an XML-RPC service in Python (obviously!) that connect to 
> an Oracle db, make some queries and return the results.
> Under medium usage (5-10 requests every 5 minutes), the webware app 
> server kill himself and output the following:
>
> /home/xxx/yyy/AppServer: line 27: 14440 Killed 
> $PYTHON$PY_OPTS Launch.py ThreadedAppServer $*
>
> these are the last lines of the activity log:
>
> 92.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,1.49,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,2.35,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,3.19,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,4.06,False
>
> while no trace of this error is reported in the errors log. Am I missing 
> something? Thanks for your help,
>
>   

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] Webware killed

2008-07-09 Thread Jason Hildebrand
Hi Damiano,

It appears that it could be a crash/segfault; I would recommend trying to 
determine whether that is the cause.  In my experience using Webware (7 years), 
any crashes have been due to extension modules, and not to Webware itself.

Make sure you are running current versions of extension modules, try to make 
some educated guesses about which module it could be, try to isolate and 
reproduce the problem if possible, check upstream bugreports, etc.  

For example, one tactic would be:
 * comment out usage of the oracle db, and "fake" the results from the XML-RPC 
request instead.
 * run the service under similar load and see if it still dies

If it still dies, then you know the crash is not related to the oracle 
database.  If it does not die, then the oracle extension module would become 
your lead suspect.   Good luck!

peace,
Jason

--
Jason Hildebrand
PeaceWorks Computer Consulting
#2 - 396 Assiniboine Ave, Winnipeg
204 480 0314   --or--   519 725 7875, ext 620.

- "Damiano Morosi" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I'm experimenting webware for the first time to use it in my
> enterprise. 
> I've developed an XML-RPC service in Python (obviously!) that connect
> to 
> an Oracle db, make some queries and return the results.
> Under medium usage (5-10 requests every 5 minutes), the webware app 
> server kill himself and output the following:
> 
> /home/xxx/yyy/AppServer: line 27: 14440 Killed 
> $PYTHON$PY_OPTS Launch.py ThreadedAppServer $*
> 
> these are the last lines of the activity log:
> 
> 92.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,1.49,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,2.35,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,3.19,False
> 192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
> 2008,4.06,False
> 
> while no trace of this error is reported in the errors log. Am I
> missing 
> something? Thanks for your help,
> 
> -- 
> Dott. Damiano Morosi
> Atac S.p.A. - Agenzia per la Mobilità del Comune di Roma
> Direzione Sistemi - Area Centrale della Mobilità
> Sviluppo funzioni sistemiche della Centrale
> 00157 Roma - Via Ostiense, 131/L
> Tel.:  (+39) 0646959361
> Mail:  [EMAIL PROTECTED]
> Skype: damiano.morosi
> Web:   http://www.atac.roma.it
> 
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic
> lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> Webware-devel mailing list
> Webware-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/webware-devel

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


[Webware-devel] Webware killed

2008-07-09 Thread Damiano Morosi
Hi all,

I'm experimenting webware for the first time to use it in my enterprise. 
I've developed an XML-RPC service in Python (obviously!) that connect to 
an Oracle db, make some queries and return the results.
Under medium usage (5-10 requests every 5 minutes), the webware app 
server kill himself and output the following:

/home/xxx/yyy/AppServer: line 27: 14440 Killed 
$PYTHON$PY_OPTS Launch.py ThreadedAppServer $*

these are the last lines of the activity log:

92.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
2008,1.49,False
192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
2008,2.35,False
192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
2008,3.19,False
192.168.200.252,POST,/VMS/2/service.py,0,service,Wed Jul  9 16:10:54 
2008,4.06,False

while no trace of this error is reported in the errors log. Am I missing 
something? Thanks for your help,

-- 
Dott. Damiano Morosi
Atac S.p.A. - Agenzia per la Mobilità del Comune di Roma
Direzione Sistemi - Area Centrale della Mobilità
Sviluppo funzioni sistemiche della Centrale
00157 Roma - Via Ostiense, 131/L
Tel.:  (+39) 0646959361
Mail:  [EMAIL PROTECTED]
Skype: damiano.morosi
Web:   http://www.atac.roma.it

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel