Hi William,
my application use:
- my custom dll assemblies
- 3rd party dll assemblies (http://www.devart.com/dotconnect/oracle/).
These dlls are in the application folder (/home/mono/).
I've tried to append the application folder to the LD_LIBRARY_PATH but
the issue persist.
The application starts, but the cpu load remain around 99%.
Best regards.
Stefano.
Il 19/11/2014 12:59, William Ivanski ha scritto:
Hi, Stefano,
Does your application use dlls?
Mine does, and that's why I had to append ".:bin" to
the LD_LIBRARY_PATH environment variable.
Note, "." is for dlls used in console and desktop applications, and
"bin" is for dlls used in ASP.NET <http://ASP.NET> applications.
Maybe, when starting with "service", your application can't find some
resources?
William Ivanski
2014-11-19 9:35 GMT-02:00 Stefano Facchetti - Arcoba Srl
<[email protected] <mailto:[email protected]>>:
Hi,
in my init script I not use environment variables but only one
local variable (ARCLAUNCHER_HOME) and also use always absolute path.
Can you give me a hint on what I can checking..?
Thanks,
Stefano.
Il 19/11/2014 12:15, William Ivanski ha scritto:
From the service manpage (http://linux.die.net/man/8/service):
DESCRIPTION
service runs a System V init script in as predictable environment
as possible, removing most environment variables and with current
working directory set to |/|.
ENVIRONMENT
|LANG|, |TERM|
The only environment variables passed to the init scripts.
William Ivanski
2014-11-19 5:37 GMT-02:00 Stefano Facchetti - Arcoba Srl
<[email protected] <mailto:[email protected]>>:
Hi,
I'm using:
Mono JIT compiler version 3.8.0 (tarball Thu Sep 4 12:22:04
UTC 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and
Contributors. www.mono-project.com <http://www.mono-project.com>
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
on Linux TurnKey core (http://www.turnkeylinux.org/core)
based on Debian 7.2 (Wheezy).
I developed a windows service and I'm trying to use it with
mono-service command.
Using command mono-service manually from the shell work well.
I've created an init script (in attach) for automatically
startup my service at machine startup and I've registred it
with following command:
update-rc.d myservice defaults
If I run a command like "/etc/init.d/myservice start", all
work fine while if I run a command like "service myservice
start" I have a strange behavior:
- cpu load go to 100%
- myservice logic not work
I not understand the difference of the commands above.
When machine starts, I have the same behavior like when I run
the command "service myservice start".
Can somebody help me?
Best regards,
Stefano.
_______________________________________________
Mono-list maillist - [email protected]
<mailto:[email protected]>
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [email protected]
<mailto:[email protected]>
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list