[Zope] Priority of processes in Zope

oliver.erlewein@sqs.de oliver.erlewein@sqs.de
Tue, 19 Feb 2002 17:41:13 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B964.3E4E6DC0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi all

Me again with my Solaris problems (threading, dtml and performance)... 

I've now checked on my threads. I've got 8 of them. Most have differing
priorities and the same nice level. 

<snip>
 8 S  webuser   422     1   422   422     1     3  0  78 20        ?    764
? 04:34:55 ?        0:00 /usr/local/bin/python /portal/
 8 S  webuser   422     1   422   422     2     3  0  68 20        ?    764
? 04:34:55 ?        0:00 /usr/local/bin/python /portal/
 8 S  webuser   422     1   422   422     3     3  0  68 20        ?    764
? 04:34:55 ?        0:00 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     1     8  0  41 20        ?   2777
? 04:34:55 ?        0:47 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     2     8  0  46 20        ?   2777
? 04:34:55 ?        0:00 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     3     8  0  41 20        ?   2777
? 04:34:55 ?        1:09 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     4     8  0  46 20        ?   2777
? 04:35:05 ?        0:31 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     5     8  0  99 20        ?   2777
? 10:24:42 ?        1:18 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     6     8  0  41 20        ?   2777
? 10:24:50 ?        0:19 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     7     8  0  41 20        ?   2777
? 10:24:50 ?        0:00 /usr/local/bin/python /portal/
 8 S  webuser   423   422   422   422     8     8  0  41 20        ?   2777
? 10:24:55 ?        0:00 /usr/local/bin/python /portal/
</snip>

Can somebody on a Solaris Zope please call "ps -eflLj | grep python" and
tell me if they have a similar result? I'm wondering about the thread with
the PRIO=99. That's the thread doing all the work. Is that correct?? I don't
suppose so. The other threads don't seem to work.

Thanx a lot!
Oliver Erlewein

------_=_NextPart_001_01C1B964.3E4E6DC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>[Zope] Priority of processes in Zope</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi all</FONT>
</P>

<P><FONT SIZE=3D2>Me again with my Solaris problems (threading, dtml =
and performance)... </FONT>
</P>

<P><FONT SIZE=3D2>I've now checked on my threads. I've got 8 of them. =
Most have differing priorities and the same nice level. </FONT>
</P>

<P><FONT SIZE=3D2>&lt;snip&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 422&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 0&nbsp; =
78 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp; =
764&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 422&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 0&nbsp; =
68 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp; =
764&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 422&nbsp;&nbsp; =
422&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 0&nbsp; =
68 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp; =
764&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
1&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 41 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:47 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
2&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 46 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
3&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 41 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:34:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:09 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
4&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 46 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 04:35:05 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:31 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
5&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 99 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 10:24:42 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:18 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
6&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 41 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 10:24:50 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:19 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
7&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 41 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 10:24:50 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&nbsp;8 S&nbsp; webuser&nbsp;&nbsp; 423&nbsp;&nbsp; =
422&nbsp;&nbsp; 422&nbsp;&nbsp; 422&nbsp;&nbsp;&nbsp;&nbsp; =
8&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp; 0&nbsp; 41 =
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp; =
2777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? 10:24:55 =
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/python =
/portal/</FONT></P>

<P><FONT SIZE=3D2>&lt;/snip&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Can somebody on a Solaris Zope please call &quot;ps =
-eflLj | grep python&quot; and tell me if they have a similar result? =
I'm wondering about the thread with the PRIO=3D99. That's the thread =
doing all the work. Is that correct?? I don't suppose so. The other =
threads don't seem to work.</FONT></P>

<P><FONT SIZE=3D2>Thanx a lot!</FONT>
<BR><FONT SIZE=3D2>Oliver Erlewein</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1B964.3E4E6DC0--