N
N
neonox2014-09-16 22:32:05
Apache HTTP Server
neonox, 2014-09-16 22:32:05

Apache errors in Bitrix Corporate Portal. How to eliminate?

Good day to all!
There is an incomprehensible problem with the portal.
There are two users who are getting 502 errors:
1 user when trying to log in to the calendar
2 user when trying to log in
Everything works fine for all other users.
First user error

[Tue Sep 16 22:12:44 2014] [error] [client 192.168.88.1] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35 bytes) in /home/bitrix/www/bitrix/modules/main/tools.php on line 4481, referer: https://192.168.88.87/index.php?login=yes

Second user error
[Tue Sep 16 22:58:31 2014] [error] [client 192.168.88.1] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 154 bytes) in /home/bitrix/www/bitrix/modules/intranet/classes/general/utils.php on line 701, referer: https://192.168.88.87/index.php?login=yes

Used by VM Bitrix/
Here httpd.conf

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2014-09-16
@merryjane

This means that these php scripts are trying to use more memory than they are allowed to.
You either need to debug the script to find out why it wants so much memory, or raise the limit in php. The parameter is called memory_limit ( php.net/manual/en/ini.core.php#ini.memory-limit). It can be set in php.ini or overridden in the apache virtual host config via the php_admin_value directive ( www.softtime.ru/info/apache.php?id_article=97).

D
Dmitry Skogorev, 2014-09-17
@EnterSandman

IMHO, Bitrix works well only on their own demo server . They
were repeatedly asked to deal with such jambs, but each time everything is different
, the error can easily be caused by jambs of zend (such jambs as another version) or
did you move from host to host when the license expired?

K
kompi, 2014-09-17
@kompi

In such cases, you should never try to solve the problem by raising the limit, you should look for the root of the problem.
Install locally and look for leaks with a profiler like xdebug or xhprof.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question