• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Prestashop 9 and too many open files

JuanCar

Regular Pleskian
Server operating system version
Almalinux 9.4
Plesk version and microupdate number
Plesk Obsidian 18.0.69 #4
Hi, I'm trying to install Prestashop 9 in my server. But all I get is a error 500, the reason: too many open files.
Does anybody know which value must be set with ulimit? Documentation doesn't say anything about this issue.
Thanks
 
Thanks. I think The error is not about MySQL
[Tue Jul 22 01:34:02.863031 2025] [proxy_fcgi:error] [pid 3542396:tid 3542416] [client 31.222.109.130:0] AH01071: Got error 'PHP message: PHP Warning: include(/var/www/vhosts/domain.com/shopping.domain.com/vendor/monolog/monolog/src/Monolog/DateTimeImmutable.php): Failed to open stream: Too many open files in /var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/ClassLoader.php on line 576; PHP message: PHP Warning: include(): Failed opening '/var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/../monolog/monolog/src/Monolog/DateTimeImmutable.php' for inclusion (include_path='.:/opt/plesk/php/8.3/share/pear') in /var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/ClassLoader.php on line 576; PHP message: PHP Fatal error: Uncaught Error: Class "Monolog\\DateTimeImmutable" not found in /var/www/vhosts/domain.com/shopping.domain.com/vendor/monolog/monolog/src/Monolog/Logger.php:383\nStack trace:\n#0 /var/www/vhosts/domain.com/shopping.domain.com/vendor/monolog/monolog/src/Monolog/Logger.php(638): Monolog\\Logger->addRecord()\n#1 /var/www/vhosts/domain.com/shopping.domain.com/vendor/symfony/cache/CacheItem.php(154): Monolog\\Logger->warning()\n#2 /var/www/vhosts/domain.com/shopping.domain.com/vendor/symfony/cache/Adapter/AbstractAdapter.php(159): Symfony\\Component\\Cache\\CacheItem::log()\n#3 /var/www/vhosts/domain.com/shopping.domain.com/vendor/symfony/cache/Traits/AbstractAdapterTrait.php(237): Symfony\\Component\\Cache\\Adapter\\AbstractAdapter->commit()\n#4 /var/www/vhosts/domain.com/shopping.domain.com/vendor/symfony/cache/Adapter/PhpArrayAdapter.php(211): Symfony\\Component\\Cache\\Adapter\\AbstractAdapter->save()\n#5 /var/www...; PHP message: PHP Warning: include(/var/www/vhosts/domain.com/shopping.domain.com/vendor/defuse/php-encryption/src/Crypto.php): Failed to open stream: Too many open files in /var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/ClassLoader.php on line 576; PHP message: PHP Warning: include(): Failed opening '/var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/../defuse/php-encryption/src/Crypto.php' for inclusion (include_path='.:/opt/plesk/php/8.3/share/pear') in /var/www/vhosts/domain.com/shopping.domain.com/vendor/composer/ClassLoader.php on line 576; PHP message: PHP Fatal error: Uncaught Error: Class "Defuse\\Crypto\\Crypto" not found in /var/www/vhosts/domain.com/shopping.domain.com/classes/PhpEncryptionEngine.php:57\nStack trace:\n#0 /var/www/vhosts/domain.com/shopping.domain.com/classes/PhpEncryption.php(58): PhpEncryptionEngineCore->encrypt()\n#1 /var/www/vhosts/domain.com/shopping.domain.com/classes/Cookie.php(361): PhpEncryptionCore->encrypt()\n#2 /var/www/vhosts/domain.com/shopping.domain.com/classes/Cookie.php(432): CookieCore->encryptAndSetCookie()\n#3 /var/www/vhosts/domain.com/shopping.domain.com/classes/Cookie.php(399): CookieCore->write()\n#4 [internal function]: CookieCore->__destruct()\n#5 {main}\n thrown in /var/www/vhosts/domain.com/shopping.domain.com/classes/PhpEncryptionEngine.php on line 57'
 
Yes, I know using ulimit, but how much?
And a new data. I've just see a Modsecurity log about injection
Pattern match "(?i)php://(std(in|out|err)|(in|out)put|fd|memory|temp|filter)"
So I can't rely in this platform (Prestashop)
Thanks
 
Back
Top