I don't know what causes it, but I see the exact same thing running an embedded 2.6.17 kernel on a PPC architecture. And my application is decidedly single-threaded. Oddly enough, the exact same application running on multiple 2.6 kernels running on i86 machines does not show this behavior.
For what it's worth, the application runs fine for me, and we've beat up on it a fair bit over the course of several months. Still, the clone process worries me a bit, and I'd love to be rid of it. Logan Ratner | +1 713 839 9656 -----Original Message----- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of jkim...@one.net Sent: Friday, May 15, 2009 10:23 AM To: sqlite-users@sqlite.org Subject: [sqlite] SQLite spawns multiple processes? I'm running a embedded SQL C application (SQLite v3.6.13) on an embedded platform (Coldfire) running Linux 2.6.25 kernel. Something odd I've noticed is that when my application reaches the point of calling dbopen it spawns a new process, with the same name as my application, so that the process list always shows two of my application running. Why is this? Is this normal behaviour? My application talks (via a socket) to a "backend" process that is multithreaded and also reads/writes to the database and each thread creates two processes. Am I doing something wrong here or is this just something SQLite does normally? I'm having problems with my application that seem to jump around and are definately memory corruption related so I'm wondering if I'm doing something wrong with the DB and causing this. Any help or suggestions would be much appreciated... _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users