LiveG
-
Posts
420 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by LiveG
-
-
Hello,
Trying to connect my forum via Api And faild.
Should i do something with the .htaccess file? where this file located?
-
Update: it 100% DDOS attack. we will resolve it in our security infrastructure.
-
Thank you everyone. At this moment it looks like DDOS attack. i will update.
-
From the last crash:
[31-Mar-2024 18:13:54] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 999 idle, and 1010 total children
I increase it all values dramatically, and the site still crashing..i dont understand what is going on
-
I have total 10240 MB of RAM.
[31-Mar-2024 15:00:33] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 57 total children
[31-Mar-2024 15:28:46] NOTICE: exiting, bye-bye!Â
Something i don't understand, the command you gave me show this path:
/etc/php/8.0/fpm/php-fpm.conf
But when i want to edit this file - i don't see all the parameter option to edit
https://ibb.co/THYjxVV i can see only process.max ( i have enlarge it from 128 to 640)
On the other and, when i enter
/etc/php/8.0/fpm/php-fpm.conf /pool.d/wwwconf
i Can see all the parameter to edit https://ibb.co/tc7vmpJ
Which file should i edit?
-
@Randy Calvert Thank you.
This is are the parameter:
pm.max_children =
50000pm.start_servers = 2 pm.min_spare_servers = 3 pm.max_spare_servers = 3 pm.max_requests = 500
How should i know the recommended value?
Â
-
We start to believe its an some kind of attack
-
Thank you @Randy Calvert
Log for php8.0-fpm in the last crash, i need to take care of it, HOPE IT WILL HELP
[29-Mar-2024 22:31:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children
[29-Mar-2024 22:31:26] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 7 total children
[29-Mar-2024 22:31:48] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 8 total children
[29-Mar-2024 22:32:04] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 9 total children
[29-Mar-2024 22:32:06] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 10 total children
[29-Mar-2024 22:32:10] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 11 total children
[29-Mar-2024 22:32:13] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 12 total children
[29-Mar-2024 22:32:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 13 total children
[29-Mar-2024 22:32:49] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 14 total children
[29-Mar-2024 22:54:45] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children -
22 hours ago, WP V0RT3X said:
In the logs folder on your server should be a .gz for every domain.
Â
These .gz record real-time logs?
Another update: the forum doesn't crash when it is in maintenance mode all day (dark for community) ; only when I open it to public it crash after couple of hours. I think this is related to the latest software version IPB has been released.
-
After many investigations, my server resources (CPU and RAM) suddenly skyrocketed and crashed the server.
I want to record logs to a text file for investigation purposes,
Please help me better understand which log I should record for the root cause undersatnding.
Is it dmesg (displays kernel-related messages) ? -
Is it safe to share them here?
Which log in the picture attached should i tail -f when my site crashes in order to see the root cause?
Â
Â
-
16 hours ago, Adlago said:
What is your content:
htaccess file,
and
constants php file?yes
16 hours ago, Adlago said:Also -
Which data storage are you using -
- MySQL database
- File system
- Redis
Whith PHP version?File systemphp version 8.0
16 hours ago, Adlago said:Do you have ACP access?
Only when the forum is up
Can anyone explain to me how to Capturing errors messages from the server (Linux) into log file?
As i understood it could to the root cause of the periodic crashes
-
top command output
-
Something use all of the memory in once
-
Maybe i am under attack?
My forum crashing in default theam as well
My site is down for 2 days now🤔
-
1 hour ago, Adlago said:
Try and test your website for viruses, for example, with this online tool
Scan result: clean
Â
-
36 minutes ago, DawPi said:
Restore that template bit. Should help (as it will remove hasMarkers part).
did it.switch to my theme , few minutes later my forum crash with no system error log at all. 😞
God knows what the reason is
Â
-
12 minutes ago, Daniel F said:
Have you tried searching your templates for hasMarkers
It's looking to appear only in front/forums/global/row. It's related to the Mark app- i think, which is no longer supported. But all the apps are disabled; why does the site keep crashing?
-
20 hours ago, Marc Stridgen said:
On each location Im seeing that has occurred there are gooks that are loaded. You need to ensure everything is indeed disabled in the first instance. Even in the message above, I can see chatbox is loading there. Im not seeing any sisues on the site itself, but seeing it being logged
needed to stop and run the server to make it work again in the default theme; it was not an issue with the default theme.
I turned off all the apps and switched to my elegant theme, and I instantly started getting system errors; if I kept this error going for a few minutes, my forum would crash. I quickly switched back to the default theme, and the error stopped. I fond a different from default in the front/forums/global/row template, but i don't know if its related.I am willing to pay developers to help escape this mess. Please pm meÂ
Error: Call to undefined method IPS\forums\Forum::hasMarkers() in /var/www/html/system/Theme/Theme.php(885) : eval()'d code:821
Stack trace:
#0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_global->row()
#1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed()
#3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output()
#5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render()
#6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render()
#7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19278): IPS\_Widget->__toString()
#8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
#9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7433): IPS\Theme\_SandboxedTemplate->__call()
#10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#15 /var/www/html/index.php(13): IPS\_Dispatcher->run()
#16 {main}Â
Backtrace
#0 /var/www/html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
#1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed()
#3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output()
#5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render()
#6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render()
#7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19278): IPS\_Widget->__toString()
#8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
#9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7433): IPS\Theme\_SandboxedTemplate->__call()
#10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#15 /var/www/html/index.php(13): IPS\_Dispatcher->run()
#16 {main} -
At the moment its happening with the default team,every app disabled. no server resourced issues- community is offline. rested the server, doesn't help
🙄
System, logsOutOfRangeException:Â (0)
#0 /var/www/html/system/Theme/Theme.php(401): IPS\Patterns\_ActiveRecord::load()
#1 /var/www/html/applications/core/sources/ProfileFields/Field.php(150): IPS\_Theme::i()
#2 /var/www/html/applications/core/sources/ProfileFields/Field.php(374): IPS\core\ProfileFields\_Field->displayValue()
#3 /var/www/html/system/Member/Member.php(2247): IPS\core\ProfileFields\_Field::values()
#4 /var/www/html/applications/core/extensions/core/MemberFilter/ProfileFields.php(309): IPS\_Member->profileFields()
#5 /var/www/html/system/Member/GroupPromotion.php(319): IPS\core\extensions\core\MemberFilter\_ProfileFields->matches()
#6 /var/www/html/system/Member/Member.php(4453): IPS\Member\_GroupPromotion->matches()
#7 /var/www/html/system/Member/Member.php(445): IPS\_Member->checkGroupPromotion()
#8 /var/www/html/system/Theme/Theme.php(353): IPS\_Member->save()
#9 /var/www/html/system/Dispatcher/Standard.php(54): IPS\_Theme::i()
#10 /var/www/html/system/Dispatcher/Front.php(759): IPS\Dispatcher\_Standard::baseCss()
#11 /var/www/html/init.php(934) : eval()'d code(16): IPS\Dispatcher\_Front::baseCss()
#12 /var/www/html/init.php(934) : eval()'d code(28): IPS\Dispatcher\chatbox_hook_Dispatcher_Front::baseCss()
#13 /var/www/html/system/Dispatcher/Front.php(76): IPS\Dispatcher\marktopic_hook_code_dispatcher_front::baseCss()
#14 /var/www/html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#15 /var/www/html/index.php(13): IPS\_Dispatcher::i()
#16 {main}backtrace
 /var/www/html/init.php(1036): IPS\_Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main} -
-
- The default theme works. my forum works with the default theme .
- I Have the latest update of the theme installed.
- path front/forums/global/row is exactly the same as default
-
9 minutes ago, Daniel F said:
There's no hasMarkers method in our code, sounds like a very old template.
Can you compare your forums/front/global/row template with the default one?
I will try. its difficult to do as the forum is down most of the time..
I know its update template of ipb focus theme
* i cant find this path forums/front/global/row
-
Well,
Its happening all over again. my forum is down.
lots of system error. apps is disabled. template caching. is disabled.
Â
Error: Call to undefined method IPS\forums\Forum::hasMarkers() in /var/www/html/system/Theme/Theme.php(885) : eval()'d code:821
Stack trace:
#0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_global->row()
#1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed()
#3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output()
#5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render()
#6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render()
#7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19560): IPS\_Widget->__toString()
#8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
#9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7603): IPS\Theme\_SandboxedTemplate->__call()
#10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#15 /var/www/html/index.php(13): IPS\_Dispatcher->run()
#16 {main}#0 /var/www/html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
#1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed()
#3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output()
#5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render()
#6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render()
#7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19560): IPS\_Widget->__toString()
#8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
#9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7603): IPS\Theme\_SandboxedTemplate->__call()
#10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#15 /var/www/html/index.php(13): IPS\_Dispatcher->run()
#16 {main}Â
Â
API Activiation
in General Questions
Posted · Edited by LiveG
Where are the instructions?