Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7073071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:53:07+00:00 2026-05-28T05:53:07+00:00

I am running play on multiple machines in our datacenter. We loadbalance the hell

  • 0

I am running play on multiple machines in our datacenter. We loadbalance the hell out of everything. On each play node/VM I’m using Apache and an init.d/play script to start and stop the play service.

The problem is that our play websites are hosted on shared network storage. This makes deployment really nice, you deploy to one place and the website is updated on all 100 machines. Each machine has a mapped folder “/z/www/PlayApp1” where the play app lives.

The issue is that when the service starts or stops the server.pid file is being written to that network location where the apps files live.

The problem is that as I bring up 100 nodes, the 100th node will override the PID file with it’s pid and now that pid file only represents the correct process ID for 1 out of 100 nodes.

So how do I get play to store the pid file locally and not with the app files on the network share? I’ll need each server’s PID file to reflect that machines actual process.

We are using CentOS (Linux)

Thanks in advance
Josh

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:53:08+00:00Added an answer on May 28, 2026 at 5:53 am

    According to https://github.com/playframework/play/pull/43 it looks like there is a –pid_file command line option; it might only work with paths under the application root so you might have to make directories for each distinct host (which could possibly be symlinks)

    I have 0 experience with Play so hopefully this is helpful information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I find that when running multiple gmock tests using and in memory database I
I've just started with the Play Framework and I'm running into some problems using
Running a rails site right now using SQLite3. About once every 500 requests or
Running an ASP.Net website and using TinyMCE for content management. Users need to be
We have recently started to see this exception while running the play framework in
I'm running a function to pulse a play icon: - (void)pulsePlayIcon { if ([self
my device are running on OS4 GM and it not present Mediaplayer when play.
I have a Play! framework Heroku project that has three deployments. One for running
I follow the instructions on http://devcenter.heroku.com/articles/play to get my Play! (Java) app running on
I have multiple UIView animations running in my app. They are very short, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.