Completely disable wdmcserverd and wdphotodbmergerd

PLEASE for the love of all that is holy, how do I disable WDMCServerD and WDPHOTODBMERGERD???  Before the latest firmware update I had disabled these services using “/etc/init.d/wdmcserverd stop” then “update-rc.d wdmcserver off”.  Now under the new firmware, they are back with a vengance and I CANNOT get rid of them.  WDMCSERVERD is currently using between 85-100% of my CPU since the firmware updated last night at 3am.  I tried “/etc/init.d/wdmcserverd stop”, the service says its stopping but doesnt.  Same for the photomerger.  And, update-rc.d is not a command anymore?  **bleep**?  I have over 7TB of movies and videos on my MyCloud.  I do not WANT or NEED the media server or the MyCloud.com support.  I simply want a NAS that provides storage on my network.  All this box does is provide a place for my Plex server to find its media.  I even went so far as to rename and remove the executible bit from the wdmcserverd files in /etc/init.d and /usr/local/wdmcserver.  After a reboot the files were restored to normal and my HDDs were churning away once again.  I’m this close to ripping the drives out of the box and throwing it out of the highest window i can find.  PLEASE someone help!

PS – I am also experianceing the problem with Apache where I have ~20 HTTPD processes running.  Any idea on that one?

If it’s failing to stop, you could try pkill. eg:

pkill  wdphotodbmergerd

or same for wdmcserverd. or ps -ef | grep photodbmerger to find the PID and kill -9 PID.

I seem to recall the previous update made those two services running dependant on something being enabled in the interface. Maybe the dlna server? I know I stopped using the dlna server on the grounds that it was, imho, crappy. Perhaps that’s why they don’t run on mine.

Worst comes to worst you could always use find . | grep photodbmer to figure out where the elf binary is (compare with echo $PATH) and chmod -x it. :slight_smile:

There was some chatter a couple of weeks ago about those deamons starting up and going nuts when a USB Drive was connected. That the case on yours? I haven’t tried connecting a USB to mine since the update.

I’m curious about this lots of apache processes running. I have just 4, but I haven’t set mine up for remote access.

root@NeNAS / # ps -ef | grep httpd
 3655 root 42400 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
 9589 root 44640 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
10320 root 44480 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
13871 root 44640 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
25611 root 2976 S grep httpd
root@NeNAS / #

I’d be interested to see the results of a netstat.

Hi there,

We have passed this along to support

Ive tried to KILL and PKILL the services, they just come right back up after I reboot.  I would like them to go away completely, I do not use any of the cloud services this device offers, I have them disabled in the Dashboard.  The multiple HTTPD services are starting to become a bigger problem though, last I checked I had 23 running, taking nearly 50% of the CPU.  This is causing issues moving files on the drive.  Any help?

+1 on understanding what is driving the creation of http daemons…

I’d be interested to see the results of a netstat.

netstat:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 MIHO:22 ERIKA.spikenardst:60664 ESTABLISHED
tcp 0 0 MIHO:49152 largo.spikenardst:59131 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59098 TIME_WAIT
tcp 0 0 MIHO:49152 ERIKA.spikenardst:60643 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59101 TIME_WAIT
tcp 0 0 MIHO:443 ERIKA.spikenardst:60681 ESTABLISHED
tcp 0 0 MIHO:445 largo.spikenardst:58643 ESTABLISHED
tcp 0 0 MIHO:49152 largo.spikenardst:59102 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59137 TIME_WAIT
tcp 0 0 MIHO:49152 ERIKA.spikenardst:60677 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59129 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59136 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59146 TIME_WAIT
tcp 0 0 MIHO:445 ERIKA.spikenardst:57691 ESTABLISHED
tcp 0 0 MIHO:49152 largo.spikenardst:59099 TIME_WAIT
tcp 0 0 MIHO:443 ERIKA.spikenardst:60678 ESTABLISHED
tcp 0 0 MIHO:49152 largo.spikenardst:59190 TIME_WAIT
tcp 0 0 MIHO:49152 ERIKA.spikenardst:60668 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59147 TIME_WAIT
tcp 0 0 MIHO:49152 largo.spikenardst:59189 TIME_WAIT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 8 [] DGRAM 2209 /dev/log
unix 2 [] DGRAM 2594527
unix 2 [] DGRAM 9015
unix 2 [] DGRAM 7765
unix 3 [] STREAM CONNECTED 7709
unix 3 [] STREAM CONNECTED 7708
unix 2 [] DGRAM 7707
unix 2 [] DGRAM 7148
unix 3 [] STREAM CONNECTED 3174 /var/run/dbus/system_bus_socket
unix 3 [] STREAM CONNECTED 3173
unix 2 [] DGRAM 3169
unix 3 [] STREAM CONNECTED 3154
unix 3 [] STREAM CONNECTED 3153

 ps -ef | grep httpd:

3679 root 42368 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
16207 root 46912 D httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
16672 root 44640 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
16895 root 46912 D httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
17058 root 46912 D httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
17194 root 46912 R httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
17533 root 0 Z [httpd]
17969 root 44640 S httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18117 root 46976 R httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18402 root 46816 D httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18481 root 46816 R httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18645 root 46816 D httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18735 root 46976 R httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18885 root 43808 R httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18937 root 2976 S grep httpd

 top:

Mem: 508384K used, 6848K free, 0K shrd, 4544K buff, 187680K cached
CPU: 22.2% usr 24.0% sys 0.0% nic 0.0% idle 51.8% io 0.0% irq 1.8% sirq
Load average: 12.17 12.93 13.10 2/139 19165
  PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
19039 3679 root D 46816 9.0 0 14.9 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
19118 3679 root D 45216 8.7 0 5.3 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
 2794 1 root S 4288 0.8 0 2.6 up_read_daemon
18735 3679 root D 46976 9.1 0 2.4 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
11703 4547 nobody S 35424 6.8 0 2.4 smbd -D
16207 3679 root D 46912 9.0 0 2.2 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18481 3679 root D 46880 9.0 0 2.0 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
16672 3679 root D 46912 9.0 0 1.8 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
17969 3679 root S 44640 8.6 0 1.8 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
16937 2 root SW 0 0.0 0 1.7 [kworker/0:2]
16895 3679 root D 46912 9.0 0 1.1 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
17058 3679 root D 46912 9.0 0 1.1 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
 7274 2 root SW 0 0.0 0 1.1 [kworker/0:0]
18645 3679 root D 46816 9.0 0 0.9 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
  324 2 root SW 0 0.0 0 0.7 [kswapd0]
12798 2 root SW 0 0.0 0 0.7 [kworker/0:1]
 3741 1 root S 3712 0.7 0 0.5 {disk_monitor.sh} /bin/bash /usr/sbin/disk_monitor.sh
 2363 2 root SW< 0 0.0 0 0.5 [loop0]
 3373 2 root SW 0 0.0 0 0.5 [md1_raid5]
 3679 1 root S 42368 8.2 0 0.3 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
 4718 1 root D 5120 0.9 0 0.3 scheddler
26710 2 root SW 0 0.0 0 0.3 [kworker/0:4]
 4379 1 root S 20672 4.0 0 0.1 /usr/local/bin/wdnotifier
18286 3418 root S 7168 1.3 0 0.1 sshd: sshd@ttyp0
 3724 1 root S 4672 0.9 0 0.1 system_daemon
 3988 1 root S < 4608 0.8 0 0.1 iscsid -f
19042 18292 root R 3072 0.6 0 0.1 top
    3 2 root SW 0 0.0 0 0.1 [ksoftirqd/0]
 3284 2 root SW 0 0.0 0 0.1 [md0_raid1]
 4274 1 root S 68832 13.3 0 0.0 upnp_nas_device -webdir /etc/upnp
17194 3679 root S 44640 8.6 0 0.0 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
18117 3679 root S 44640 8.6 0 0.0 httpd -f /usr/local/apache2/conf/httpd.conf -k graceful
24583 4547 root S 34944 6.7 0 0.0 smbd -D
 4547 1 root S 34432 6.6 0 0.0 smbd -D
 4232 4162 root S 25312 4.9 0 0.0 /usr/libexec/mysqld --basedir=/usr --datadir=/mnt/HD_a4/.@database@ --user=
 4549 1 root S 18016 3.4 0 0.0 nmbd -D

 it looks like the issue with wdmdserver resolved itself, but im still getting a metric **bleep**-ton of HTTPD servces running, plus my drive activity lights have been blinking non-stop since the firware update 2 days ago.  The netstat list are all internal hostnames, nothing coming in from outside at all.

Interesting. My NAS is idling along at the moment, but it’s only really ever had 4 or 5 httpd processes running at once.

What I’d be doing is run top again to get the PID of the most active httpd process(es). Then run netstat -n -p | grep [pid] to figure out what that httpd process is talking to. Then repeat the process on the device at the other end of the connection to work out which process is implicated on the other end.

Sometimes browsers will do ‘intereseting’ things like preloading (try to scrape the entire site to make it appear faster). If your browser is trying to preload the site, you will see extra http connections fired up to handle anticipated future connections. Curious to know how you get on.

I seem to recall the previous update made those two services running dependant on something being enabled in the interface. Maybe the dlna server?

Turn off cloud access in general settings. the .wdmc folders contrin thumbnails that the mobile apps use. With no cloud access, the EX4 should stop making the files & folders. But I think you’ll still need to manually delete. Just Find Them & Destroy Them from command line after that.