openshift


Multiple HAProxy instances on OpenShift


I have an application (Node.JS) deployed on OpenShift (bronze plan) with the Web Load Balancer activated, the minimum gears active are 3 and the max are 16.
Sometimes in the main gear I can see more than one HAProxy instance running, for example now I have:
> ps -ef|grep /usr/sbin/haproxy
3505 37488 1 1 08:46 ? 00:00:01 /usr/sbin/haproxy -f /var/lib/openshift/<APP_ID>/haproxy//conf/haproxy.cfg -sf 37237
3505 149643 1 1 May28 ? 00:09:08 /usr/sbin/haproxy -f /var/lib/openshift/<APP_ID>/haproxy//conf/haproxy.cfg -sf 114873
looking the logs I can't any error. Any explanation about this?
Thanks!
This could be a consequence of executing Haproxy reload script (/etc/init.d/haproxy). This will usually create a new haproxy process to accept new connections. It will also keep the old process alive until there are still open connections to it. Once they are closed, old haproxy process will be terminated.

Related Links

OpenShift : Access Remote to MySQL on a DIY app without port-forward possible?
Openshift: Why can't I add a node to a district?
Missing Java3D on tomcat cartridge
openshift . A gear restart did not complete on 1 gear
Cannot add member in OpenShift
Flask-migrate on openshift
Can you have multiple domains for a single openshift app?
single application multiple environments in openshift
Are ssh installs removed on git push in OpenShift?
Automatic log rolling in openshift?
Limiting user access to my website - OpenShift
Is it possible to change the primary cartridge in an OpenShift application?
Questions relating to install ofbiz on Red Hat's OpenShift PaaS
openshift application goes idle and halts its cron jobs
How does openshift deal with damaged hardware?
How does inter-gear networking security work in OpenShift?

Categories

HOME
xpath
spring-data
android-studio
focus
workflow
windows-10
kivy
portable-class-library
bittorrent
capistrano
ag-grid
u-boot
azure-logic-apps
eddystone
csrf
smooks
xbap
mailgun
xbox360
closures
c#-7.0
rpmbuild
pickle
multiple-tables
angular2-highcharts
android-permissions
workday
multi-upload
environment
nurbs
copy-protection
source-insight
phpstorm-2016.1
objectmapper
wampsharp
caesar-cipher
sql-execution-plan
java-stream
eclipse-gmf
mv
strapi
unification
llvm-ir
gitolite
assert
icepdf
jqgrid-asp.net
morphline
type-inference
jshint
docker-ucp
image-registration
nusoap
dtd
petsc
yargs
livecycle
always-on-top
openseadragon
android-sdcard
node-glob
timestamping
android-async-http
django-redis
accessibilityservice
myfaces
cortana
helm
python-cffi
android-mapview
perceptron
blank-line
auto-generate
knife
wso2ml
ocmockito
debug-symbols
mojo
sql-processor
famo.us
hp-idol-ondemand
configurable-product
global-scope
relationships
lmax
nidaqmx
refit
radius-protocol
void-pointers
sunstudio
mongo-jackson-mapper
significant-digits
session-0-isolation
xmlwriter
lynx
live-wallpaper
websphere-6.1
pageheap
kernel32
digiflow
channelfactory
mongrel
explicit
activestate
iphone-sdk-4.3
efs

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App