Resolving the issue in the long-term and short-term
Issues such as the one discussed in this chapter can be a bit tricky, as they generally have two paths to resolution. There is a long-term fix and a short-term fix; both are necessary, but one is only temporary.
Long-term resolution
For the long-term resolution of this issue, we really have two options. We could increase the server's physical memory to provide both Apache and Processor adequate memory for their tasks. Alternatively, we could move the processor to another server.
Since we know that this server has frequently killed the Apache service and the processor
job, it is likely that the memory on the system is simply too low for it to perform both these roles. By moving the processor
job (and likely the custom app that it is part of) to another system, we would be moving the workload to a dedicated server.
On the basis of the memory usage of the processor, it may also be worth increasing the memory on the new server as well. As...