|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Normal?4D v2004.7r3HF3, A4d v4+ Macintosh.
4D Server 4DDebugLog.txt (Detailed Logging) Is it NORMAL for Active4D to perform calls such as below, continuously about 20 times a second, when not otherwise processing web requests? 49575 [5] plugInName: Active4D v4; externCall: -89. 49575 [5] plugInName: Active4D v4; externCall: -93. 49575 [5] plugInName: Active4D v4; externCall: -89. 49575 [5] plugInName: Active4D v4; externCall: -93. 49575 [5] plugInName: Active4D v4; externCall: -89. 49575 [5] plugInName: Active4D v4; externCall: -93. Or is it the effect of exposing port 80 or port 443 to the internet and having at least one of those ports constantly polled? These entries appear when using SET DATABASE PARAMETER(34;2) `4ddebuglog;Detailed Thanks, _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Normal?I have no knowledge of A4D internals, but could they be a result of the
'A4D Housekeeper' process? 20 times per _second_ does seem excessive though. -- Brad Perkins > 4D v2004.7r3HF3, A4d v4+ Macintosh. > > > > 4D Server 4DDebugLog.txt (Detailed Logging) > > > > Is it NORMAL for Active4D to perform calls such as below, continuously > about > 20 times a second, when not otherwise processing web requests? > > > > 49575 [5] plugInName: Active4D v4; externCall: -89. > > 49575 [5] plugInName: Active4D v4; externCall: -93. > > 49575 [5] plugInName: Active4D v4; externCall: -89. > > 49575 [5] plugInName: Active4D v4; externCall: -93. > > 49575 [5] plugInName: Active4D v4; externCall: -89. > > 49575 [5] plugInName: Active4D v4; externCall: -93. > > > > Or is it the effect of exposing port 80 or port 443 to the internet and > having at least one of those ports constantly polled? > > > > These entries appear when using SET DATABASE PARAMETER(34;2) > `4ddebuglog;Detailed > > > > Thanks, > > > > _______________________________________________ > Active4D-dev mailing list > Active4D-dev@... > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ > _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Normal?Brad,
I was wrong about the 20 time per second. I was reading the log incorrectly. I checked a different portion of another log and found 319 such calls to Active4D in .027 of a second, or 27 milliseconds. This is approximately 12,000 such calls per second. And this is while the site is "Idle". To avoid saturation of the drive, I cut the log file off after 10MB, sometimes it seems like it's just a few seconds. These 29 were all logged in the same 1000th of a second: 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. 662 [6] (1) plugInName: Active4D v4; externCall: -93. 662 [6] (1) plugInName: Active4D v4; externCall: -89. David I have no knowledge of A4D internals, but could they be a result of the 'A4D Housekeeper' process? 20 times per _second_ does seem excessive though. -- Brad Perkins _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Normal?David,
I have several databases running with Active4D and have never seen that A4D does slow down a PC/Mac or causes any harm. You should ask 4D what they are logging. There is (an old) TechNote database which analyses the log. Maybe Brendan didn't hide it away and you get an hold of it. Am 07.06.2009 um 05:07 schrieb David Ringsmuth: > I checked a different portion of another log and found 319 such > calls to > Active4D in .027 of a second, or 27 milliseconds. > > This is approximately 12,000 such calls per second. And this is > while the > site is "Idle". To avoid saturation of the drive, I cut the log file > off > after 10MB, sometimes it seems like it's just a few seconds. > dev/ Greetings, [4D-Consulting.com]eK, Wiesbaden (Germany) Peter Schumacher -------------------------------------------------------- Web: http://www.4D-Consulting.com/ FreeCall: 0800-434 636 7 Tel.: +49-611-9406.850 - Fax: +49-611-9406.744 4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden Member of the German Developer Network http://www.die4dwerkstatt.de _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Normal?Unless you suspect that a plugin in causing a problem, you should not log it.. the Tech Note in question is supposed to do implement some form of "log-rolling" so that just the last few logs are kept. You really don't want to be looking at this, till the database crashes, and then you want to see the last activity right before it crashed. I'll find out in the next couple of days, when I put it into my next project about to go into testing. Just search the KB2.0 with "debug log", and several Tech Notes and Tech Tips hits will show up. sincerely, mehboob alam Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking. - Dave Barry ----- Original Message ---- From: Peter Schumacher <plist@...> To: active4d-dev@... Sent: Sunday, June 7, 2009 6:02:05 AM Subject: Re: [Active4d-dev] Normal? David, I have several databases running with Active4D and have never seen that A4D does slow down a PC/Mac or causes any harm. You should ask 4D what they are logging. There is (an old) TechNote database which analyses the log. Maybe Brendan didn't hide it away and you get an hold of it. Am 07.06.2009 um 05:07 schrieb David Ringsmuth: > I checked a different portion of another log and found 319 such calls to > Active4D in .027 of a second, or 27 milliseconds. > > This is approximately 12,000 such calls per second. And this is while the > site is "Idle". To avoid saturation of the drive, I cut the log file off > after 10MB, sometimes it seems like it's just a few seconds. > dev/ Greetings, [4D-Consulting.com]eK, Wiesbaden (Germany) Peter Schumacher -------------------------------------------------------- Web: http://www.4D-Consulting.com/ FreeCall: 0800-434 636 7 Tel.: +49-611-9406.850 - Fax: +49-611-9406.744 4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden Member of the German Developer Network http://www.die4dwerkstatt.de _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Normal?Mehboob,
You intentions are good. Thanks. I am doing exactly what I intended to do with the 4DDebugLog.txt. It generates a new log after it reached 10MB, the old log is renamed. When the next log reaches 10MB, the last log is deleted and a new one created. There are always 2 logs. I can easily reduce the log size, but initially I needed to see more. David -----Original Message----- From: active4d-dev-bounces@... [mailto:active4d-dev-bounces@...] On Behalf Of Mehboob Alam Sent: Sunday, June 07, 2009 9:59 PM To: active4d-dev@... Subject: Re: [Active4d-dev] Normal? Unless you suspect that a plugin in causing a problem, you should not log it.. the Tech Note in question is supposed to do implement some form of "log-rolling" so that just the last few logs are kept. You really don't want to be looking at this, till the database crashes, and then you want to see the last activity right before it crashed. I'll find out in the next couple of days, when I put it into my next project about to go into testing. Just search the KB2.0 with "debug log", and several Tech Notes and Tech Tips hits will show up. sincerely, mehboob alam Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking. - Dave Barry ----- Original Message ---- From: Peter Schumacher <plist@...> To: active4d-dev@... Sent: Sunday, June 7, 2009 6:02:05 AM Subject: Re: [Active4d-dev] Normal? David, I have several databases running with Active4D and have never seen that A4D does slow down a PC/Mac or causes any harm. You should ask 4D what they are logging. There is (an old) TechNote database which analyses the log. Maybe Brendan didn't hide it away and you get an hold of it. Am 07.06.2009 um 05:07 schrieb David Ringsmuth: > I checked a different portion of another log and found 319 such calls to > Active4D in .027 of a second, or 27 milliseconds. > > This is approximately 12,000 such calls per second. And this is while the > site is "Idle". To avoid saturation of the drive, I cut the log file off > after 10MB, sometimes it seems like it's just a few seconds. > dev/ Greetings, [4D-Consulting.com]eK, Wiesbaden (Germany) Peter Schumacher -------------------------------------------------------- Web: http://www.4D-Consulting.com/ FreeCall: 0800-434 636 7 Tel.: +49-611-9406.850 - Fax: +49-611-9406.744 4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden Member of the German Developer Network http://www.die4dwerkstatt.de _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Write into system log before 4D Crash on Web RequestHello
There are days, where my Webserver (4D Application with 4D webserver and Acitive4D ons OS X 10.5) crashes more then 10 times in one our. Is there a technic to write direct to the OS X Sytem.log like printf, so that I can see the web request which creates the crash? I want to do this in the On Web Connection Method. If I write into a document, and the 4D Application crashes, the newest request-Lines are not included into the log-file. Regards Oliver _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Write into system log before 4D Crash on Web RequestOliver,
last time I had this, it was a corrupted structure in 4D 2004.7. The only solution was to rebuild it with 4D Insider. you might also check your data file. Am 08.06.2009 um 19:33 schrieb Oliver Brodwolf: > There are days, where my Webserver (4D Application with 4D webserver > and Acitive4D ons OS X 10.5) crashes more then 10 times in one our. Greetings, [4D-Consulting.com]eK, Wiesbaden (Germany) Peter Schumacher -------------------------------------------------------- Web: http://www.4D-Consulting.com/ FreeCall: 0800-434 636 7 Tel.: +49-611-9406.850 - Fax: +49-611-9406.744 4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden Member of the German Developer Network http://www.die4dwerkstatt.de _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
| Free embeddable forum powered by Nabble | Forum Help |