# Best practices for on demand deployment

**URL:** <https://discourse.openondemand.org/t/best-practices-for-on-demand-deployment/1607>\
**Category:** Get Help\
**Tags:** question\
**Created:** [July 28, 2021, 7:20pm UTC](https://discourse.openondemand.org/t/best-practices-for-on-demand-deployment/1607 "2021-07-28T19:20:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 28, 2021, 7:40pm UTC](https://discourse.openondemand.org/t/best-practices-for-on-demand-deployment/1607/2 "2021-07-28T19:40:01Z")

</div>

Hi and welcome! I think the biggest thing is your apache’s MPM configurations. 4-8 cores maybe minimum (we’re not very CPU intensive). A lot of your RAM just ends up being cached files from the file editor. So it’s available, but not free. If I recall correctly PUNs are around ~300 MB.

Searching ‘mpm’ on this site gave me some hits

These 2 I think are the best:

> [@OOD Host configuration recommendations](https://discourse.openondemand.org/t/ood-host-configuration-recommendations/883):
>
> Posting general contents of an offline email thread here in case it would be of assistance to anyone else in the future: From: Ashok Ragavendran , Brown University The question relates to server loads and how you manage balancing and provisioning of the actual front end web servers. I am wondering if you can provide any information on the current configuration that is being implemented at the OSC and any metrics on the loads that your experience. Any recommendations you can provide within thi…

and this one gives some monitoring tips too.

> [@MaxRequestWorkers setting](https://discourse.openondemand.org/t/maxrequestworkers-setting/734/2):
>
> I think here’s a good [serverfault](https://serverfault.com/questions/383526/how-do-i-select-which-apache-mpm-to-use/383634#383634) topic on the subject. Yes it’s safe to modify these files, but they could be overwritten by a new install, so you’d be wise to write some automation around configuring your apache. Though the file /opt/rh/httpd24/root/etc/httpd/conf.modules.d/00-mpm.conf determines which type of mpm module you use (you’ve linked a CGI config file, that’s not the file/config you’re looking fo). Looks like default is prefork. If you want to switch types, then modify this file, …

---

_[View the full topic](https://discourse.openondemand.org/t/best-practices-for-on-demand-deployment/1607)._
