Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...
  • Page:
  • 1

TOPIC: Crazy process tree

Crazy process tree 1 month 1 week ago #16277

Hi!

I have been trying out the dome scripting gateway and kstars and indi have been running (fine) on my RPi for a week or so. But running ps today I noticed the following process tree:
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
...snip...
26702 ?        S      0:01      1    28  1747   372  0.0 indiserver -f /home/pi/indiFIFO
26703 ?        Sl     0:00      2   367 15668   292  0.0  \_ indi_fcusb_focuser
26704 ?        S      0:00      7   174 12189   628  0.0  \_ indi_eqmod_telescope
26706 ?        Sl     6:26  12886    37 176046  508  0.0  \_ indi_qhy_ccd
27196 ?        S      0:00      1    15 10084   384  0.0  \_ indi_script_dome
 9069 ?        S      0:00      0    15 10084   376  0.0      \_ indi_script_dome
 9070 ?        S      0:00      0    15 10084   376  0.0          \_ indi_script_dome
 9071 ?        S      0:00      0    15 10084   376  0.0              \_ indi_script_dome
 9145 ?        S      0:00      0    15 10084   376  0.0                  \_ indi_script_dome
 9155 ?        S      0:00      0    15 10084   380  0.0                      \_ indi_script_dome
 9166 ?        S      0:00      0    15 10084   388  0.0                          \_ indi_script_dome
 9202 ?        S      0:00      0    15 10084   380  0.0                              \_ indi_script_dome
 9457 ?        S      0:00      0    15 10084   400  0.0                                  \_ indi_script_dome
10302 ?        S      0:00      0    15 10084   392  0.0                                      \_ indi_script_dome
10303 ?        S      0:00      0    15 10084   400  0.0                                          \_ indi_script_dome
10307 ?        S      0:00      0    15 10084   400  0.0                                              \_ indi_script_dome
10308 ?        S      0:00      0    15 10084   392  0.0                                                  \_ indi_script_dome
10322 ?        S      0:00      0    15 10084   392  0.0                                                      \_ indi_script_dome
10329 ?        S      0:00      0    15 10084   392  0.0                                                          \_ indi_script_dome
10330 ?        S      0:00      0    15 10084   392  0.0                                                              \_ indi_script_dome
10331 ?        S      0:00      0    15 10084   392  0.0                                                                  \_ indi_script_dome
10332 ?        S      0:00      0    15 10084   392  0.0                                                                      \_ indi_script_dome
10333 ?        S      0:00      0    15 10084   392  0.0                                                                          \_ indi_script_dome
10334 ?        S      0:00      0    15 10084   392  0.0                                                                              \_ indi_script_dome
10335 ?        S      0:00      0    15 10084   392  0.0                                                                                  \_ indi_script_dome
10336 ?        S      0:00      0    15 10084   392  0.0                                                                                      \_ indi_script_dome
10337 ?        S      0:00      0    15 10084   392  0.0                                                                                          \_ indi_script_dome
10384 ?        S      0:00      0    15 10084   392  0.0                                                                                              \_ indi_script_dome
10385 ?        S      0:00      0    15 10084   392  0.0                                                                                                  \_ indi_script_dome
10390 ?        S      0:00      0    15 10084   392  0.0                                                                                                      \_ indi_script_dome
10394 ?        S      0:00      0    15 10084   392  0.0                                                                                                          \_ indi_script_dome
10397 ?        S      0:00      0    15 10084   392  0.0                                                                                                              \_ indi_script_dome
10398 ?        S      0:00      0    15 10084   392  0.0                                                                                                                  \_ indi_script_dome
10399 ?        S      0:00      0    15 10084   392  0.0                                                                                                                      \_ indi_script_dome
10400 ?        S      0:00      0    15 10084   392  0.0                                                                                                                          \_ indi_script_dome
28950 ?        S      0:00      0    15 10084   392  0.0                                                                                                                              \_ indi_script_dome
28962 ?        S      0:00      0    15 10084   404  0.0                                                                                                                                  \_ indi_script_dome
29082 ?        S      0:00      0    15 10084   396  0.0                                                                                                                                      \_ indi_script_dome
29134 ?        S      0:00      0    15 10084   396  0.0                                                                                                                                          \_ indi_script_dome
29510 ?        S      0:00      0    15 10084   408  0.0                                                                                                                                              \_ indi_script_dome
29879 ?        S      0:00      3    15 10084   420  0.0                                                                                                                                                  \_ indi_script_dome
10154 ?        S      0:00      0    15 10084   420  0.0                                                                                                                                                      \_ indi_script_dome
10172 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                          \_ indi_script_dome
10175 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                              \_ indi_script_dome
10176 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                  \_ indi_script_dome
10177 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                      \_ indi_script_dome
10181 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                          \_ indi_script_dome
10182 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                              \_ indi_script_dome
10183 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                  \_ indi_script_dome
10184 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                      \_ indi_script_dome
10185 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                          \_ indi_script_dome
10186 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                              \_ indi_script_dome
10187 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                  \_ indi_script_dome
10188 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                      \_ indi_script_dome
10202 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                          \_ indi_script_dome
10206 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                              \_ indi_script_dome
10207 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                  \_ indi_script_dome
10208 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                      \_ indi_script_dome
10209 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                          \_ indi_script_dome
10211 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                              \_ indi_script_dome
10228 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                  \_ indi_script_dome
10232 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                      \_ indi_script_dome
10236 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                          \_ indi_script_dome
10247 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                              \_ indi_script_dome
10248 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                  \_ indi_script_dome
10315 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                      \_ indi_script_dome
10319 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                          \_ indi_script_dome
10320 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                              \_ indi_script_dome
10321 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                  \_ indi_script_dome
10323 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                      \_ indi_script_dome
10324 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                          \_ indi_script_dome
10325 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                              \_ indi_script_dome
10328 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10342 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10343 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10344 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10349 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10350 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10351 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10352 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10353 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10354 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10355 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10356 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10357 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10423 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10424 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10425 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10436 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10437 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10438 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10443 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10447 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10448 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10449 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10450 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10497 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10498 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10499 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10500 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10501 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10510 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10511 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10512 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10515 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10516 ?        S      0:00      0    15 10084   424  0.0                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10525 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10526 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10530 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10535 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
10536 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
10947 ?        S      0:00      0    15 10084   416  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
10980 ?        S      0:00      0    15 10084   428  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
10983 ?        S      0:00      0    15 10084   436  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11172 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11175 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11176 ?        S      0:00      0    15 10084   440  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11184 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11189 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11190 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11207 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11208 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11209 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11210 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11211 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11212 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11216 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11217 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11225 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11265 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11271 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11272 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11273 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11274 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11290 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11295 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11298 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11299 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11300 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11305 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11306 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11311 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11312 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11313 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11314 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11315 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11316 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11333 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11334 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11335 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11336 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11337 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11338 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11339 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11340 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11341 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11349 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11350 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11397 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11398 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11399 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11400 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11401 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11402 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11403 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11406 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
11407 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \_ indi_script_dome
11408 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \_ indi_script_dome
11409 ?        S      0:00      0    15 10084   432  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \_ indi_script_dome
11410 ?        S      0:06      4    15 10084   484  0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \_ indi_script_dome
...snip...

Everything worked fine despite of this. I have not been able to reproduce the "error" yet, so this is just to let you know that something seems to go wrong somewhere...

Best Regards,
Søren

Please Log in or Create an account to join the conversation.

Crazy process tree 1 month 1 week ago #16282

Did not you see crashes of indi_script_dome in the INDI log on the Pi over time?

If a driver crashes, the process remains in zombie state and the INDI server starts a new driver process. It would explain this crazy long list.

Please Log in or Create an account to join the conversation.

Crazy process tree 1 month 1 day ago #16360

If a driver dies, the process line should mention "(defunct)" and the STAT column should mark "Z". The situation depicted here matches a recursion.

Superficial look at the code in "dome_script.cpp" reveals that DomeScript::RunScript first forks the driver, then replaces that forked process with the script execution.

In the depicted situation, it appears the fork operation succeeded, but the script execution failed to actually replace the process with anything, leaving the driver process as is.

There is no provision against this type of error in the code: the funny result is a second, then a third, etc, INDI dome driver, still exchanging with the server and apparently always getting priority as a bonus :)

I'd look for missing scripts in the installation to explain why "execvp" is failing to execute properly.

Fixing this should be straightforward: the forked driver must not return but die with "exit()" if the attempt at execvp fails. However, there doesn't seem to be any side-effects to this situation, unless at some point the system decides the process recursion is weird and has to stop (antivirus decision for instance).

-Eric
The following user(s) said Thank You: polakovic

Please Log in or Create an account to join the conversation.

Crazy process tree 1 month 1 day ago #16366

Hi Eric, you're right. Fixed in both scripting gateways... Thank you, Peter

Please Log in or Create an account to join the conversation.

Crazy process tree 1 month 1 day ago #16367

Now that was a quick fix :)
I still have to return to the part of the code reaping zombie processes in indiserver. While it allows proper signal propagation in subprocesses it doesn't behave as I thought it would when drivers die.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 1.640 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!

Gallery

Replica

Why INDI

Replica