Running 4.5 with SP19 and I've been having a problem here with the rules for some time now. Every day they stop working more than once a day forcing me to do a restart to the application server service.
I've read similar problems like this around this forum and after reading, I think, all of them and the solutions given I've tried them all.
is it possible to look at the rules that are creating the scheduled tasks and see if there is another way to achieve the same thing? I made a process change that reduced scheduled tasks from the 1000's to the 100's. The process change eliminated the need for the schedueld tasks.
Other option is posted above. Incease the number fo app servers to handle the tasks but any more that 4000-5000 tasks per app server may give you problems again.
I don't know much about the memory tuning even after reading some documentation on it I still have some doubts, even so, I tried as I've said to change the -XX:MaxNewSize= and newsize to 128M but when I do that the rules just don't work, the strange thing is that I've just tried today to change it to maxnewsize and newsize to 192M and everything is running well. So far the server has been running for 6 hours without any problems with the rules, although 6 hours without problems is obviously a normal thing, let me tell you that it's the best record from the last couple of weeks. I'll give it the weekend and see on monday how it behaves.
Didn't know that the multiple instances would have a positive impact on the performance and thought I had to have 2 different applications servers to actually have a significant impact on performance. I'll consider creating another instance first thing next week. Back to the chapter 7 of the manual :).
I've created a second instance on the server to try this solution but after a while the logserver.txt gets is writing but nothing is being written except for the information regarding the start of the service on the logserver2.txt (created and set on the second instance to write there) which makes me believe that no rule is being executed through there.
have you checked the setting for "Join Multiple Servers" for both of there app servers or check the serversettings.xml and ensure it is set to true.
What you can do is to move the scheduled tasks from the first server to the second and have then run from the second server which will help. Go into the scheduled tasks view. open a scheduled task, choose the reschedule option. You may need to stop the spp service of the first server and then choose to reschedule. Then bring up the other app service.
I don't have multiple servers, I have now multiple instances, should I set to true the JOINMULTIPLESERVERS? Don't know if I do have to do this but I did it anyway and it's still only writing on the logserver.txt...
I forgot you still only have 1 physical server. Can you keep them running and see if it helps as clients should be connecting to the 2nd instance which will help. You can check this in the admin console under security - audit - active application servers and click on the entery for eachserver to see the number of people connected to that application server instance.
How many client connections do you average per day?