Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline Mayank Goyel  
#1 Posted : Monday, July 26, 2010 4:36:05 PM(UTC)
Mayank Goyel

Rank: No customer

Joined: 6/10/2010(UTC)
Posts: 10
Location: India

Hi All,

We are using our API model to interact with Visual Cron server from our application. We have noticed that Visual Cron service consumes 100% CPU usages sometimes during job creation/task creation.

The only way to come out this situation is to kill Visual Cron service.

Could you please suggest some way to deal with this issue?
Offline Support  
#2 Posted : Monday, July 26, 2010 11:23:52 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,291

Thanks: 565 times
Was thanked: 320 time(s) in 308 post(s)
What exactly are you doing when this happens?
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline Mayank Goyel  
#3 Posted : Tuesday, July 27, 2010 8:14:46 AM(UTC)
Mayank Goyel

Rank: No customer

Joined: 6/10/2010(UTC)
Posts: 10
Location: India

Actually, we are creating a new job/tasks using Visual Cron API. During creation of job/tasks, if we missed to set some properties or of we set some invalid values for some properties then Visual Cron service consumes 100% CPU usage for a long time before throwing an exception.

We have to kill the Visual Cron Service to resolve the issue.
Offline Support  
#4 Posted : Tuesday, July 27, 2010 11:18:37 AM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,291

Thanks: 565 times
Was thanked: 320 time(s) in 308 post(s)
Please let us know what kind of settings/Job you sent so we can reproduce this. Just send that sample to support@visualcron.com
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Offline lfmontalvo  
#5 Posted : Friday, May 30, 2014 9:13:12 PM(UTC)
lfmontalvo

Rank: Paid support

Joined: 5/30/2014(UTC)
Posts: 1
United States
Location: FLORIDA, FORT LAUDERDALE

This is still an issue. Whenever a try to create a job via de API if the job has a trigger where DayType is true the API takes a long time to respond and the CPU usage goes up significantly. If DayType is false, it works ok. Here is the sample code:

Dim trigger As TriggerClass = job.AddTrigger(TimeClass.TimeTriggerT.Custom)
trigger.Description = "Every weekday"

trigger.TTime.AllYears = True
trigger.TTime.AllMonths = True
trigger.TTime.AllDays = False ' These two are the trouble ones.
trigger.TTime.DayType = False ' These two are the trouble ones.
trigger.TTime.DaysIsBetween = True
trigger.TTime.DayBetweenStart = 0
trigger.TTime.DayBetweenStop = 4
trigger.TTime.Hours(0) = True
trigger.TTime.Minutes(0) = True
trigger.TTime.Seconds(0) = True
s.Jobs.Update(job)

Edited by user Friday, May 30, 2014 9:25:16 PM(UTC)  | Reason: Not specified

Offline Support  
#6 Posted : Friday, May 30, 2014 10:33:18 PM(UTC)
Support

Rank: Official support

Medals:
Joined: 2/23/2008(UTC)
Posts: 9,291

Thanks: 565 times
Was thanked: 320 time(s) in 308 post(s)
Originally Posted by: lfmontalvo Go to Quoted Post
This is still an issue. Whenever a try to create a job via de API if the job has a trigger where DayType is true the API takes a long time to respond and the CPU usage goes up significantly. If DayType is false, it works ok. Here is the sample code:

Dim trigger As TriggerClass = job.AddTrigger(TimeClass.TimeTriggerT.Custom)
trigger.Description = "Every weekday"

trigger.TTime.AllYears = True
trigger.TTime.AllMonths = True
trigger.TTime.AllDays = False ' These two are the trouble ones.
trigger.TTime.DayType = False ' These two are the trouble ones.
trigger.TTime.DaysIsBetween = True
trigger.TTime.DayBetweenStart = 0
trigger.TTime.DayBetweenStop = 4
trigger.TTime.Hours(0) = True
trigger.TTime.Minutes(0) = True
trigger.TTime.Seconds(0) = True
s.Jobs.Update(job)


Which version are you running and are you connecting locally or remotely?
Henrik
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2016, Yet Another Forum.NET
This page was generated in 0.264 seconds.
Scroll to Top