[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Re: Hanging and crashing in BSD-type OSes
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
Christopher Thompson schrieb:
>
> ****** message to minivend-users from "Christopher Thompson" <ct@arborinternet.com> ******
>
> So, is the default for SafeSignals Yes and BSD users should explicitly set
> it to No?
The questions is, which value has the SafeSignals per default? Yes or
No?
If i understand the description of this SafeSignals, it tells me, it
will
set to No automatic. Maybe the automatic setting doesn't work and the
setting is wrong?
I've not check this setting in 3.12, 3.14 and 4.03. But after thinking
about MV dies and if i remembered right, i've never noticed any dies of
minivend server, if the minivend server serve and support _one_
shop/catalog only. I've a watchdog script, to check all active catalogs
(5 catalogs) everey 15 min. I noticed for example:
8.45 pm:
Catalog 1,2,4 and 5 -> no error -> no email message to me, but
Catalog 3 -> ...server unavailable -> email message to me, without
restarting MV
9.00 pm:
Catalog 1 and 2 -> ...server unavailable -> email message to me _and_
autom. restarting the MV server, because 1 and 2 are the most important
catalogs.
It is very strange, why is 3 telling about "..server is unavailable..",
when 1 and 2 is available before and 4 and 5 is available too after 3. I
use the UNIX MODE only! I've change some codes in vlink to report the
syslog signal and it reports 61 (connections refused), if i remembered
right from my head.
I've no experience in C, but it seems to my little brother, MV server
get a command,
signal or whatsoever to kill itself. My little brother is able to use C
and it seems to him, the vlink (Version 3.14) has one exit code to much.
------snipp vlink.c Version 3.14------
printf("demand, please try again soon.<br>\r\n");
printf("Error (%d): %s<br>\r\n</BODY></HTML>\r\n", e, strerror(e));
exit(1);
}
/* Return this message to the browser when a system error occurs.
* Should we log to a file? Email to admin?
*/
.
.
.
if (s < 0) {
server_not_running(e);
#ifdef ALEX
exit(1);
#endif
}
}
/* Close the socket connection.
*/
static void close_socket()
------snipp------
I mkae my shop at my company in my own FreeBSD machine local and in all
the years (ca. 2
years), i have noticed only _one_ MV dies. Both machines (the web
machine and my own machine for the productions) use the same FreeBSD
Version, Minivend Version and the configurations in both is comparable.
I've not use MV 4 in my web machine yet. I will use this, if i'm finish
to rebuild our shop with MySQL.
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list