High load when parsing big HTML messages
|Reported by:||umount||Owned by:|
I tried to open mail (html) file in the size 8bm.
Very big loading on the server. Use memory 150Mb.
Then I heve error Nginx 504 Gateway Time-out.
I look in profiler Xdebug, it is a crazy. Some parts of the program are caused on 500000 times (screen 1).
I am try use the uppercase S (study) modifier. http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
It has a little helped. (screen 2)
I consider that incorrectly when it is possible to load strongly and even to drop the server if to users to dispatch html files in the size 10Mb
Change History (13)
comment:1 Changed 3 years ago by umount
- Component changed from Addressbook to Core functionality
- Milestone changed from later to 0.5-stable
comment:2 follow-up: ↓ 3 Changed 3 years ago by alec
- Summary changed from Hi load html size 8Mb to High load when parsing big HTML messages