[Plone-IT] Improvvisa perdita di prestazione

Zardetto Carlo carlo a artmediastudio.com
Mar 27 Maggio 2014 13:28:46 UTC


Sembrerebbe stabile
17158    plone    48.7 %    /usr/local/plone42/Python-2.7/bin/python 
/usr/local/plone42/buildout-cache/eggs/ ...

Ti ringrazio infinitamente ma a questo punto la mia domanda è ,
Cosa è successo ?
Forse l' aggiornamento che ho fatto sul sistema linux ha qualche 
incompatibilità con il plone 4.2 ?

-----Messaggio originale----- 
From: Mauro Amico
Sent: Tuesday, May 27, 2014 2:51 PM
To: plone-plone-it a lists.plone.org
Subject: Re: [Plone-IT] Improvvisa perdita di prestazione

forse hai problemi con questa portlet: "navigation_recurse" non promette
nulla di buono... personalmente non la conosco, gli alti forse sì...

se l'istanza si blocca immediatamente forse la più veloce è andare qui:

/usr/local/plone42/buildout-cache/eggs/plone.app.portlets-2.2.5-py2.7.egg/plone/app/portlets/portlets/navigation.py

e subito dopo la riga:

def available(self):
aggiungere un

return False

...

poi riavviare l'istanza.

hai cambiato recentemente qualche impostazione che possa avere a che
fare con quella portlet?

mauro.


On 05/27/2014 01:46 PM, Zardetto Carlo wrote:
> Process 2119 attached with 3 threads - interrupt to quit
>
> e ho la ripetizione del messaggio
>
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
> 2119  select(43, [3 10 15 16 17 19 20 22 23 24 25 26 27 28 29 30 31 32 33 
> 34 35 36 39 41 42], [], [3 10 15 16 17 19 20 22 23 24 25 26 27 28 29 30 31 
> 32 33 34 35 36 39 41 42], {22, 700808} <unfinished ...>
> 2703  <... futex resumed> )             = -1 EAGAIN (Resource temporarily 
> unavailable)
> 2702  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
> 2703  <... futex resumed> )             = 0
> 2702  <... futex resumed> )             = 1
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 0
> 2702  <... futex resumed> )             = -1 EAGAIN (Resource temporarily 
> unavailable)
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703 
> stat("/usr/local/plone42/buildout-cache/eggs/plone.app.portlets-2.2.5-py2.7.egg/plone/app/portlets/portlets/navigation_recurse.pt", 
> <unfinished ...>
> 2702  <... futex resumed> )             = 0
> 2703  <... stat resumed> {st_mode=S_IFREG|0644, st_size=2348, ...}) = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2702 
> stat("/usr/local/plone42/buildout-cache/eggs/plone.app.portlets-2.2.5-py2.7.egg/plone/app/portlets/portlets/navigation_recurse.pt", 
> {st_mode=S_IFREG|0644, st_size=2348, ...}) = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2703  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2702  <... futex resumed> )             = 0
> 2703 
> stat("/usr/local/plone42/buildout-cache/eggs/plone.app.portlets-2.2.5-py2.7.egg/plone/app/portlets/portlets/navigation_recurse.pt", 
> {st_mode=S_IFREG|0644, st_size=2348, ...}) = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2703  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
> 2702  futex(0x2df0e60, FUTEX_WAKE_PRIVATE, 1) = 1
> 2703  <... futex resumed> )             = 0
> 2702 
> stat("/usr/local/plone42/buildout-cache/eggs/plone.app.portlets-2.2.5-py2.7.egg/plone/app/portlets/portlets/navigation_recurse.pt", 
> {st_mode=S_IFREG|0644, st_size=2348, ...}) = 0
> 2702  futex(0x2df0e60, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
>
>
> -----Messaggio originale----- From: Mauro Amico
> Sent: Tuesday, May 27, 2014 12:07 PM
> To: plone-plone-it a lists.plone.org
> Subject: Re: [Plone-IT] Improvvisa perdita di prestazione
>
> l'altra alternativa più veloce è lanciare l'istanza da console
>
> bin/instance console
>
> (o qualcosa di simile, non sono pratico dell'unified installer)
>
> poi fare
>
> kill -USR1 PID-DEL-PROCESSO-ZOPE
>
> dovresti vedere il trace dei thread, da lì dovresti capire su cosa sono
> bloccati.
>
> anche
>
> strace -f -p PID-DEL-PROCESSO-ZOPE
>
> (lo chiudi con ctrl-c)
>
> potrebbe aiutarti, ma molto più difficile da leggere.
>
>
> Mauro.
>
> On 05/27/2014 11:45 AM, Luca Fabbri wrote:
>> 2014-05-27 11:07 GMT+02:00 Zardetto Carlo <carlo a artmediastudio.com>:
>>> Ho scaricato il mio buildout file ho due sezioni
>>> # Eggs
>>> # ----
>>> # Add an indented line to the eggs section for any Python
>>> # eggs or packages you wish to include.
>>> #
>>> eggs =
>>>     Plone
>>>     Pillow
>>>     lxml
>>>
>> Aggiungi haufe.requestmonitor qui, poi configuralo appropriatamente
>> come da documentazione:
>> https://pypi.python.org/pypi/haufe.requestmonitoring#monitoring-long-running-requests
>>
>>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

_______________________________________________
Plone-IT mailing list
Plone-IT a lists.plone.org
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html 



Maggiori informazioni sulla lista Plone-IT