i find that init process will periodically check all of the service,
when the init found through PID does not exist,which created by the
init process, init process will then start again
this may cause something wrong:
in the init.rc script
...
service dhcpcd /system/bin/dhcpcd eth0
    disabled
and i modified it like this
service dhcpcd /system/bin/dhcpcd eth0
    disabled
    oneshot
but everytime i open the wifi,the system will fork a new dhcpcd
process,and after i shutdown the wifi,the dhcpcd process is still
alive.
so after i open and close the wifi many times,there are many dhcpcd
process exist
the ps log is here.there are three dhcpcd process:
 677 root         0 DW<  [SDIO Helper]
 679 root         0 DW<  [SDIO Helper]
 681 root       724 S    /system/bin/sh
 682 1000       796 S    /system/bin/servicemanager
 683 root      1824 S    /system/bin/mountd
 685 root       652 S    /system/bin/debuggerd
 686 root      8280 R    /system/bin/rild
 687 root     70372 S    zygote /bin/app_process -Xzygote /system/bin
--zygote
 688 1013     16844 S    /system/bin/mediaserver
 692 root       788 S    /system/bin/installd
 694 root      3328 S    /sbin/adbd
 697 root      1592 S    /sbin/getty ttyMSM2 115200 vt100
 722 1000      165m S    system_server
 771 root       732 S    /system/bin/sh -
 773 1001     97660 S    com.android.phone
 937 1000      104m R    com.android.settings
 997 1014       732 S    /system/bin/dhcpcd eth0
1086 1014       764 R    /system/bin/dhcpcd eth0
2575 root      1860 S    /system/bin/wpa_supplicant -Dwext -ieth0 -c/
data/misc
2622 1014       692 S    /system/bin/dhcpcd eth0
2624 10001    93544 S    android.process.media
2637 root      1596 R    ps
so my question is: where is the proble?and :how to fix this problem?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to