[Openvpn-devel] [XS] Change in openvpn[master]: t_server_null: run server processes with 'ulimit -t 300'
"cron2 \(Code Review\) via Openvpn-devel" <[email protected]> Fri, 31 Jul 2026 10:06:05 +0000
| Newsgroups | net.sourceforge.lists.openvpn-devel |
|---|---|
| Message-ID | <615ee924da5679f7736bedfaaf2b2ab52e11651f-EmailReplacePatchSet-HTML@gerrit.openvpn.net> |
--===============2116080632585804968==
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="35Iq5iQZdSY="; charset=UTF-8
--35Iq5iQZdSY=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello flichtenheld, plaisthos,
I'd like you to reexamine a change=2E Plea=
se visit
http://gerrit=2Eopenvpn=2Enet/c/openvpn/+/777?usp=3Demail
to=
look at the new patch set (#3)=2E
The following approvals got outdated an=
d were removed:
Code-Review+2 by plaisthos
Change subject: t_server_null:=
run server processes with 'ulimit -t 300'
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E
t_server_null: run server processes with 'u=
limit -t 300'
"ulimit -t" will hard limit the usable CPU time for any proc=
ess started
to the specified number of seconds=2E So if we have a stuck-an=
d-looping
server process (which was observed frequently) this will make sur=
e
the situation will fix itself eventually=2E
Change-Id: I7e5ac9b4a8594251=
c3b5c4655f9d74b021950098
Signed-off-by: Gert Doering <gert@greenie=2Emuc=2E=
de>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549=2Eorg>
Gerrit URL: https:/=
/gerrit=2Eopenvpn=2Enet/c/openvpn/+/777
Message-Id: <20260730204642=2E27250=
-1-gert@greenie=2Emuc=2Ede>
URL: https://www=2Email-archive=2Ecom/openvpn-d=
evel@lists=2Esourceforge=2Enet/msg38088=2Ehtml
Signed-off-by: Gert Doering =
<gert@greenie=2Emuc=2Ede>
---
M tests/t_server_null_server=2Esh
1 file chan=
ged, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit=2Eopenvpn=2E=
net:29418/openvpn refs/changes/77/777/3
diff --git a/tests/t_server_null_s=
erver=2Esh b/tests/t_server_null_server=2Esh
index 65b7d56=2E=2Ee1775f0 100=
755
--- a/tests/t_server_null_server=2Esh
+++ b/tests/t_server_null_server=
=2Esh
@@ -11,6 +11,10 @@
# Allow reading this file even umask values a=
re strict
touch "$log"
+ # limit CPU time of processes to "5 minu=
tes"
+ # (so a stuck-and-looping process will auto-terminate)
+ ulimi=
t -t 300
+
# Try to launch the server
$RUN_SUDO "${server_exec}" =
\
$server_conf \
--
To view, visit http://gerrit=2Eopenvp=
n=2Enet/c/openvpn/+/777?usp=3Demail
To unsubscribe, or for help writing mai=
l filters, visit http://gerrit=2Eopenvpn=2Enet/settings?usp=3Demail
Gerrit=
-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Ger=
rit-Change-Id: I7e5ac9b4a8594251c3b5c4655f9d74b021950098
Gerrit-Change-Numb=
er: 777
Gerrit-PatchSet: 3
Gerrit-Owner: cron2 <gert@greenie=2Emuc=2Ede>
Ge=
rrit-Reviewer: flichtenheld <frank@lichtenheld=2Ecom>
Gerrit-Reviewer: plai=
sthos <arne-openvpn@rfc2549=2Eorg>
Gerrit-CC: openvpn-devel <openvpn-devel@=
lists=2Esourceforge=2Enet>
--35Iq5iQZdSY=
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html><html><head><style></style></head><body><p>cron2 <strong>upl=
oaded patch set #3</strong> to this change=2E</p><p><a href=3D"http://gerri=
t=2Eopenvpn=2Enet/c/openvpn/+/777?usp=3Demail">View Change</a></p><p>The fo=
llowing approvals got outdated and were removed:
Code-Review+2 by plaisthos=
</p><pre class=3D"blocks" style=3D"font-family: monospace,monospace; white-=
space: pre-wrap;">t_server_null: run server processes with 'ulimit -t 3=
00'<br><br>"ulimit -t" will hard limit the usable CPU time fo=
r any process started<br>to the specified number of seconds=2E So if we ha=
ve a stuck-and-looping<br>server process (which was observed frequently) th=
is will make sure<br>the situation will fix itself eventually=2E<br><br>Cha=
nge-Id: I7e5ac9b4a8594251c3b5c4655f9d74b021950098<br>Signed-off-by: Gert Do=
ering <gert@greenie=2Emuc=2Ede><br>Acked-by: Arne Schwabe <arne-op=
envpn@rfc2549=2Eorg><br>Gerrit URL: https://gerrit=2Eopenvpn=2Enet/c/ope=
nvpn/+/777<br>Message-Id: <20260730204642=2E27250-1-gert@greenie=2Emuc=
=2Ede><br>URL: https://www=2Email-archive=2Ecom/openvpn-devel@lists=2Eso=
urceforge=2Enet/msg38088=2Ehtml<br>Signed-off-by: Gert Doering <gert@gre=
enie=2Emuc=2Ede><br>---<br>M tests/t_server_null_server=2Esh<br>1 file c=
hanged, 4 insertions(+), 0 deletions(-)<br><br></pre><pre class=3D"blocks" =
style=3D"font-family: monospace,monospace; white-space: pre-wrap;">git pull=
ssh://gerrit=2Eopenvpn=2Enet:29418/openvpn refs/changes/77/777/3</pre><pre=
style=3D"font-family: monospace,monospace; white-space: pre-wrap;"><span>d=
iff --git a/tests/t_server_null_server=2Esh b/tests/t_server_null_server=2E=
sh</span><br><span>index 65b7d56=2E=2Ee1775f0 100755</span><br><span>--- a/=
tests/t_server_null_server=2Esh</span><br><span>+++ b/tests/t_server_null_s=
erver=2Esh</span><br><span>@@ -11,6 +11,10 @@</span><br><span> # Allow =
reading this file even umask values are strict</span><br><span> touch &=
quot;$log"</span><br><span> </span><br><span style=3D"color: hsl(120, =
100%, 40%);">+ # limit CPU time of processes to "5 minutes"</s=
pan><br><span style=3D"color: hsl(120, 100%, 40%);">+ # (so a stuck-and-=
looping process will auto-terminate)</span><br><span style=3D"color: hsl(12=
0, 100%, 40%);">+ ulimit -t 300</span><br><span style=3D"color: hsl(120,=
100%, 40%);">+</span><br><span> # Try to launch the server</span><br><=
span> $RUN_SUDO "${server_exec}" \</span><br><span> =
$server_conf \</span><br><span></span><br></pre><p>To view, visit <a =
href=3D"http://gerrit=2Eopenvpn=2Enet/c/openvpn/+/777?usp=3Demail">change 7=
77</a>=2E To unsubscribe, or for help writing mail filters, visit <a href=
=3D"http://gerrit=2Eopenvpn=2Enet/settings?usp=3Demail">settings</a>=2E</p>=
<div itemscope itemtype=3D"http://schema=2Eorg/EmailMessage"><div itemscope=
itemprop=3D"action" itemtype=3D"http://schema=2Eorg/ViewAction"><link item=
prop=3D"url" href=3D"http://gerrit=2Eopenvpn=2Enet/c/openvpn/+/777?usp=3Dem=
ail"/><meta itemprop=3D"name" content=3D"View Change"/></div></div>
<div s=
tyle=3D"display:none"> Gerrit-MessageType: newpatchset </div>
<div style=3D=
"display:none"> Gerrit-Project: openvpn </div>
<div style=3D"display:none">=
Gerrit-Branch: master </div>
<div style=3D"display:none"> Gerrit-Change-Id=
: I7e5ac9b4a8594251c3b5c4655f9d74b021950098 </div>
<div style=3D"display:no=
ne"> Gerrit-Change-Number: 777 </div>
<div style=3D"display:none"> Gerrit-P=
atchSet: 3 </div>
<div style=3D"display:none"> Gerrit-Owner: cron2 <gert=
@greenie=2Emuc=2Ede> </div>
<div style=3D"display:none"> Gerrit-Reviewer=
: flichtenheld <frank@lichtenheld=2Ecom> </div>
<div style=3D"display=
:none"> Gerrit-Reviewer: plaisthos <arne-openvpn@rfc2549=2Eorg> </div=
>
<div style=3D"display:none"> Gerrit-CC: openvpn-devel <openvpn-devel@l=
ists=2Esourceforge=2Enet> </div>
</body></html>
--35Iq5iQZdSY=--
--===============2116080632585804968==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============2116080632585804968==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
--===============2116080632585804968==--