Michael Vogel
|
1caa87dce6
|
Restructured the way, processes are inserted and removed
|
5 years ago |
Michael Vogel
|
22f32d9721
|
New process table for a better detection of running workers
|
5 years ago |
Michael Vogel
|
108a1c4ac6
|
New priority level for stale processes.
|
5 years ago |
Michael Vogel
|
67b16507f1
|
Performance improvements for the poller
|
5 years ago |
Michael Vogel
|
d138b11868
|
Use a 10 minute timeout for high priority processes. This may be better.
|
5 years ago |
Michael Vogel
|
29168de677
|
Process timeouts are now priority depending
|
5 years ago |
Michael Vogel
|
0411eb289e
|
Lower the priority for stale processes
|
5 years ago |
Michael Vogel
|
074ae59f49
|
Reschedule killed processes at the beginning of the queue.
|
5 years ago |
Michael Vogel
|
7157ca3809
|
Fastlane is now working with any priority level
|
5 years ago |
Michael Vogel
|
ff430640c0
|
Small variable type fixed, removed unused includes
|
5 years ago |
Michael Vogel
|
d673f44c5b
|
Split cron jobs in cronjobs, introduce fastlane for high priority tasks
|
5 years ago |
Michael Vogel
|
b9dbb0ace1
|
Split cronhook call to several single calls
|
5 years ago |
Michael Vogel
|
668da905e2
|
"proc_run" is now called with priority.
|
5 years ago |
Michael Vogel
|
5e81c105e0
|
We now work with the "priority" field - that's better
|
5 years ago |
Michael Vogel
|
4be7e5a581
|
"Fast lane" mechanism to reserve one queue for priority processes
|
5 years ago |
Michael Vogel
|
7580c8ed11
|
Processing of high priority processes
|
5 years ago |
Michael Vogel
|
fb447e84ee
|
Some more information about the current queue status of the worker
|
5 years ago |
Michael Vogel
|
4b29937a74
|
Worker: New value for cooldown time after each function call
|
5 years ago |
Michael Vogel
|
e4c6cfd2d8
|
Moves the function "is_result" from dba to dbm.
|
5 years ago |
Michael Vogel
|
c549ae939c
|
Added the new function to the poller.
|
5 years ago |
Michael Vogel
|
0518f004c2
|
removed duplicated functions
|
5 years ago |
Michael Vogel
|
b45772ba6e
|
Configurable amount of maximum processes
|
5 years ago |
Michael Vogel
|
df337e57d1
|
Quit when processlist is too long
|
5 years ago |
Michael Vogel
|
85a9c7d96e
|
The poller now has the logging for processes as well.
|
5 years ago |
Michael Vogel
|
76b24f61a9
|
New (experimental) value to define the maximum level of database connections for the worker
|
5 years ago |
Roland Haeder
|
9cfc249b12
|
Moved is_filled_array() to both dba classes and named it is_result().
Please see ticket #2390 for full discussion.
Signed-off-by: Roland Haeder <roland@mxchange.org>
|
5 years ago |
Michael Vogel
|
beb2346cfc
|
The function to check for maxload and the lockfile is centralized
|
5 years ago |
Roland Haeder
|
d88606321d
|
Just easier code ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
|
5 years ago |
Roland Haeder
|
d5c1ce490b
|
No processing if error or empty array
Signed-off-by: Roland Haeder <roland@mxchange.org>
|
5 years ago |
Michael Vogel
|
acb09d3a3d
|
Database connections: When we now check for user values we check the system values as well
|
5 years ago |
Michael Vogel
|
5027fbf733
|
Poller: Now the user limits can be detected automatically as well
|
5 years ago |
Michael Vogel
|
4af77b60ce
|
Poller: Use the processlist when the number of maximum database connections was provided manually
|
5 years ago |
Michael Vogel
|
211be5bfc5
|
Poller: The maximum number of connections can now be configured
|
5 years ago |
Michael Vogel
|
7af3dd01d8
|
Poller: Check the number of used database connections
|
5 years ago |
Michael Vogel
|
275f7b2660
|
The worker now kills processes that run longer than 3 hours
|
5 years ago |
rabuzarus
|
3df5c17124
|
reformat todo according to doxygen style
|
5 years ago |
Michael Vogel
|
33f354a68c
|
Bugfix for the maximum load check in worker.
|
5 years ago |
Michael Vogel
|
6e03477598
|
Sometimes the function "sys_getloadavg" doesn't return an array. This is a workaround.
|
5 years ago |
Michael Vogel
|
fbbba6828b
|
Some better logging
|
5 years ago |
Michael Vogel
|
9f8da37c99
|
Move the process check at the beginning of the script
|
5 years ago |
Michael Vogel
|
54085508e5
|
Double check for maximum number of workers
|
5 years ago |
Michael Vogel
|
c3ee255b0c
|
Reduction of double executions - hopefully
|
6 years ago |
Michael Vogel
|
ed8cdc7d85
|
Logging message added
|
6 years ago |
Michael Vogel
|
f0cf9ce519
|
Prevent double execution
|
6 years ago |
Michael Vogel
|
eb75d9532b
|
Magical mathematics to reduce the number of workers
|
6 years ago |
Michael Vogel
|
9767801be4
|
Load depending number of worker queues.
|
6 years ago |
Michael Vogel
|
ae21c40f21
|
Load depending number of workers
|
6 years ago |
Michael Vogel
|
173d1390df
|
Mute warnings in pidfile/Quit poller after an hour.
|
6 years ago |
Michael Vogel
|
f8e4a71eda
|
Do a load check during execution of the queue.
|
6 years ago |
Michael Vogel
|
3ace2136f0
|
Checking includes for valid paths
|
6 years ago |