From 212667d707799412c915d8e61391517bb70fdf43 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 29 Apr 2012 19:32:15 +0200 Subject: [PATCH] Split up sTcpSock and sOtherSock --- frontend/classes/class.container.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/classes/class.container.php b/frontend/classes/class.container.php index 0b45f4a..ec89768 100644 --- a/frontend/classes/class.container.php +++ b/frontend/classes/class.container.php @@ -104,6 +104,7 @@ class Container extends CPHPDatabaseRecordClass $sShmPages = $sLockedPages * 64; $sOomGuarPages = $this->sGuaranteedRam * 400; $sTcpSock = $this->sGuaranteedRam * 3; + $sOtherSock = $this->sGuaranteedRam * 3; $sFLock = (int)($this->sGuaranteedRam * 0.6); $sFLockLimit = (int)($sFLock * 1.1); $sTcpSndBuf = (int)($this->sGuaranteedRam * 20000); @@ -141,7 +142,7 @@ class Container extends CPHPDatabaseRecordClass --tcprcvbuf {$sTcpRcvBuf}:{$sTcpRcvBufLimit} --othersockbuf {$sOtherBuf}:{$sOtherBufLimit} --dgramrcvbuf {$sDgramBuf}:{$sDgramBuf} - --numothersock {$sTcpSock}:{$sTcpSock} + --numothersock {$sOtherSock}:{$sOtherSock} --numfile {$sNumFile}:{$sNumFile} --dcachesize {$sDCache}:{$sDCacheLimit} --numiptent 128:128