are anyways standing on wrong premise anyways. Create multiple
XslTransform for each thread. Since newobj happens a lot, it shouldn't
be a big problem (for you at least).
Atsushi Eno
Joshua Tauberer wrote:
Atsushi Eno wrote:
Thanks for the patch, but I don't think it makes things better
Atsushi Eno wrote:
msxsl:script cannot be thread safe on transform operations as script
writers could write any thread-unsafe operations.
Well, sure. There's lots a script can do to mess up the application, and
it seems like scripts in transformations basically need full trust
anyway because
Steve Bjorg wrote:
XSLTCompiledTransform is thread-safe. Would that be an alternative for
you?
As far as I know, XSLTCompiledTransform (in Mono) just wraps the same
code as XslTransformation, so they are equally thread safe.
The MSDN docs seem to basically say the same thing w.r.t. thread
===
--- ChangeLog (revision 103720)
+++ ChangeLog (working copy)
@@ -1,3 +1,16 @@
+2008-05-21 Joshua Tauberer [EMAIL PROTECTED]
+
+ * src/mod_mono.c: Always acquire a lock at the start of processing
+ a request. The active requests counter function
)
@@ -1,3 +1,8 @@
+2008-07-14 Joshua Tauberer [EMAIL PROTECTED]
+
+ * XslSortEvaluator.cs: Correct thread safety. Don't modify instance
+ fields after template compilation.
+
2008-06-03 Atsushi Enomoto [EMAIL PROTECTED]
* XsltDebuggerWrapper.cs : allow public methods in debugger instance
http://razor.occams.info
Yields falsehood when preceded by its quotation! Yields
falsehood when preceded by its quotation! Achilles to
Tortoise (in Godel, Escher, Bach by Douglas Hofstadter)
Atsushi Eno
Joshua Tauberer wrote:
From time to time I encounter index out of range errors
Luciano _ wrote:
Hi:
If this isn't a correct place to make this kind of question, about a
bug found in mod_mono, on Ubuntu (Server and Desktop 8.04) point me to
the correct place please.
I've got now installed and running properly my apache with Mod_mono 2
(at least the samples
falsehood when preceded by its quotation! Achilles to
Tortoise (in Godel, Escher, Bach by Douglas Hofstadter)
Index: ChangeLog
===
--- ChangeLog (revision 103720)
+++ ChangeLog (working copy)
@@ -1,3 +1,16 @@
+2008-05-21 Joshua Tauberer
Andre van Staden wrote:
Not sure if this is the correct list, but lets try. I'm trying to get
Websites set up with Mod_Mono Apache 2.2 on Ubuntu 8.04. I cannot
get any information of the correct contents for the configuration
files. Samples I could find on the internet is unclear, does
Manuel de la Pena wrote:
I'm in a developing group that is planning to release an opensource API
that we have developed. We are looking in to different ways of
documenting the code. We have come across monodoc and monodocer. Is it a
tool that can just be used with official mono projects??Is
Hi,
Occasionally I am seeing in my website a NRE in
System.Web.Security.RoleManagerModule as follows:
System.NullReferenceException: Object reference not set to an instance
of an object
at System.Web.Security.RoleManagerModule.OnPostAuthenticateRequest
(System.Object sender,
Miguel de Icaza wrote:
In my case, I was having problems when the number of concurrent requests
went above 20 or 25. (I forget the details. I've been using this patch
for around 3-4 months... modulo changes I made today.)
Do you think this is a manifestation of this problem:
(revision 93419)
+++ ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2008-01-21 Joshua Tauberer [EMAIL PROTECTED]
+
+ * src/mod_mono.c: Implemented configurable rate limiting
+ with MonoMaxActiveRequests and MonoMaxWaitingRequests.
+
2008-01-20 Joshua Tauberer [EMAIL PROTECTED]
* src/mod_mono.c:
Index
Marek Habersack wrote:
On Mon, 21 Jan 2008 13:45:54 -0500, Joshua Tauberer [EMAIL PROTECTED]
scribbled:
Great, in that case, I'm attaching another patch for mod_mono that
implements rate limiting. I had found that under relatively heavy load,
mod-mono-server would deadlock. Incoming
, Escher, Bach by Douglas Hofstadter)
Index: ChangeLog
===
--- ChangeLog (revision 93328)
+++ ChangeLog (working copy)
@@ -1,3 +1,25 @@
+2008-01-20 Joshua Tauberer [EMAIL PROTECTED]
+
+ * src/mod_mono.c
César González wrote:
I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch.
Configure scripts detects apache 1.3 on ends up with the following report :
...
In file included from mod_mono.c:35:
mod_mono.h:55:21: error: apr_shm.h: No such file or directory
mod_mono.h:58:19:
Vladimir Krasnov wrote:
Please approve attached patch that improves performance of HttpWriter.
It uses GetMaxByteCount in Write and WriteString methods instead of
GetBytesCount.
I've been meaning to get a patch in to do that. In your patch, though,
you can even get rid of a string-to-char[]
Miguel de Icaza wrote:
And do people have some thoughts on what we could do to improve
mod_mono? Which areas are particularly weak, and what can we do to
improve it?
Program output (stdout/stderr) should be redirected to something other
than the main server error log (root access only).
Marek Habersack wrote:
As for ASP.NET 2.0 you mentioned. I don't know if you follow the svn trunk
development, but there has been a major progress done there.
Actually, although I use mod_mono, I don't use most of ASP.NET 2.0. I
use an XSLT-based page generation system with a custum
Ted Milker wrote:
Something needs to be figured out about why we are forced into
spawning a dozen m-m-servers (one per Apache child process) at startup.
I do not see this behavior on my setup:
Ah, sorry, what I meant was, they are spawned, but all but one
disappear after a few seconds
Robert Jordan wrote:
Joshua Tauberer wrote:
Something needs to be figured out about why we are forced into spawning
a dozen m-m-servers (one per Apache child process) at startup.
When apache's MPM == prefork, apache is spawning a `StartServers'
amount of children during its initialization
Okay, good points all around
Michael Hutchinson wrote:
On 5/5/07, Joshua Tauberer [EMAIL PROTECTED] wrote:
But the unpolished things include:
Most of these are addressed in the upcoming Google Summer of Code...
That might be why they came to mind, since I've read some
Miguel wrote:
Silverlight brings another component into the equation:
Hey,
I don't think I usually chime in on these things, but this time I
figured I would.
IMO, the Mono community/project tends to spread itself very thin. Lots
of things get started but not polished up and finished
Dennis Hayes wrote:
Is there an tool or a batch on svn to have a report about performance
of mono
Versus Ms.NET http://ms.net/ implementation.
I could not find it real quick, but you can search the archives and
probably find it.
There is a web site that compairs Mono, MS, Java, ect
Miguel de Icaza wrote:
I also encountered a bug in the new HttpParamsCollection, an
IndexOutOfRange because of a failure to account for empty-string param
values. Patch attached. Let me know if it's ok to commit.
It is OK to commit.
Could you also provide an nunit test case for this
With the 1.2.4 preview, I encountered something with the MySql Connector
which I narrowed down to an issue with System.Threading.Timer. I don't
know what the proper way to use the Timer is, so it may be improper use
on MySql's end, but nevertheless it's unexpected.
When creating and disposing
Also see:
http://www.mono-project.com/SVN
The feed URLs technically changed since my email in 2005 (actually I
only updated the wiki recently), but for now the old URLs are
redirecting to the new ones.
- Josh
John Anderson wrote:
On 4/19/07, *Wade Berrier* [EMAIL PROTECTED]
Pedro Sobota wrote:
Hi
See tools/stylesheet.xsl. If a cref attribute is specified, then the
value of the cref attribute is used. If a langword attribute is used,
then the value of the langword attribute is used.
Right. I hadn't seen the langword match. From what I gather, the cref
Miguel de Icaza wrote:
Don't know what is best for monodoc's engine, to drop uncompressed
support altogether or to correct the subclass to override the needed
methods. Any bets?
Drop uncompressed support. I did not even know we had that.
This is my hack that underlies 'monodoc --edit path'
MonoBundledAssembly **) bundled);
- return mono_main (argc+1, newargs);
}
Index: ChangeLog
===
--- ChangeLog (revision 58921)
+++ ChangeLog (working copy)
@@ -1,3 +1,12 @@
+2006-11-29 Joshua Tauberer [EMAIL PROTECTED]
+
+ * mkbundle.cs: Added
Miguel de Icaza wrote:
(Btw--- This was for one of the most rapid projects I've ever done. In
3 hours, I took an existing app with a strange internal scripting
language and replaced the scripting language with JavaScript, by
convering the Rhino interpreter from Java to .NET (with my favorite
Marek Safar wrote:
Thanks to Paulo's recommendations here is the
updated version of my original patch.
...
+ while (ptr != end_ptr) {
+ if (*ptr == value_32)
+ return (int)(ptr -
Gonzalo Paniagua Javier wrote:
On Fri, 2006-10-20 at 17:57 -0400, Joshua Tauberer wrote:
Chris van Wyk wrote:
I am running a FC4 server relying on mod_mono AutoConfiguration.
Unfortunately this died on me today.
I am running ver 1.1.18.0 and will appreciate it if someone could give me
configuration if auto-configuration is enabled. This is how things were
in 1.1.17.
I expected the patch to allow other aliases besides XXGLOBAL to fall
back, but I couldn't get it to do it...
--
- Joshua Tauberer
http://razor.occams.info
Strike up the klezmer and start acting like a man. You're
about
imagine the problem is due to
the 'fix' I made for virtual hosts with AddMonoApplications and
AutoConfiguration turned on, which had broken in the previous release.
--
- Joshua Tauberer
http://razor.occams.info
Strike up the klezmer and start acting like a man. You're
about to have a truth-mitzvah
specifically dedicated to discussions about
developing Mono and programming *with* Mono.
(snip)
[1] http://www.mono-project.com/Mailing_Lists
I just fixed the description on the wiki. with wasn't the right word
(despite the emphasis around it).
--
- Joshua Tauberer
http://razor.occams.info
Strike
now uses a more ugly socket file name that includes
the string XXGLOBAL..)
Let me know if it's ok.
--
- Joshua Tauberer
http://razor.occams.info
Strike up the klezmer and start acting like a man. You're
about to have a truth-mitzvah. -- The Colbert Report
Index: src/mod_mono.c
.
(Actually I just have been avoiding posting to the list with my new
email address in fear of the onslaught of spam.)
--
- Joshua Tauberer
http://razor.occams.info
Strike up the klezmer and start acting like a man. You're
about to have a truth-mitzvah. -- The Colbert Report
their
underlying type is not an Int32?
Heh, ok, we even had a Cecil-related discussion about that and I still
didn't catch it.
Probably Convert.ToInt64(value) will do the trick.
--
- Joshua Tauberer
http://razor.occams.info
Strike up the klezmer and start acting like a man. You're
about to have
of accepting connections.
Ideally what would be good would be to have some form of flag visible
across the apache child processes to ensure that only one m-m-s gets
started when it is not running -- possibly a file with a timestamp of
the last start attempt, or something.
--
- Joshua Tauberer
Daniel Morgan wrote:
1. I would love to see a fully managed CLI runtime.
A Cecil-powered interpreter or JIT (via DynamicMethod)? That sounds
really fun.
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who listens
and hopefully have no
significant performance cost. But I don't know about either.
I'll try the patches out for a while to make sure I didn't goof anything up.
Thanks guys.
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who
, but XmlElement was checking if
prefix == null which you're not checking for in your patch.)
Thanks.
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who listens to the discussion: the enemy
Atsushi Eno wrote:
Joshua Tauberer wrote:
(My patch was cooler!)
Well, I have to say, it was beyond my expectation for me ;-)
On which part was your patch cooler? I don't think
specific-implementation-dependent code (internal AddQName) is good,
and more importantly, after your code future
Paul F. Johnson wrote:
Just building monodoc and it's reporting that the type or namespace
Cecil does not exist in the workspace mono - is this me or a problem
in svn?
A problem in SVN... sorry
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's
the implementation of StringToHGlobalUni.
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who listens to the discussion: the enemy.
Atsushi Eno wrote:
Hello,
Mono does not support non-UTF8 multibyte conversion by design. We
System.Runtime.InteropServices;
public class Test {
public static void Main()
Console.WriteLine(Marshal.PtrToStringAnsi(Marshal.StringToCoTaskMemAnsi(ü)));
}
}
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who
' values?
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who listens to the discussion: the enemy.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com
in the
implementation of the class libraries. (Nudge nudge.) But the rest of
us really ought to do some writing too, either through the Monodoc Gtk#
app, or via editing the XML files directly and committing or submitting
a patch to mono-docs-list.
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately
!
--
- Joshua Tauberer
http://taubz.for.net
Unfortunately, we're having this discussion. It's too bad,
because guess who listens to the discussion: the enemy.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman
for pointing it out.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
versus doing exactly what Sqlite does.
So... I'll undo that. Do you think I should also undo string conversion
to DateTime for DATETIME columns?
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
...
data_row[i] = (int)Sqlite.sqlite3_column_int64 (pVm, i
to be checked too, I guess. (Don't worry about resending a patch
just for that tho.)
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman
on
the right version (and no other version) actually being 'installed'.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono
Felipe Almeida Lessa wrote:
Also maybe support for CVS/SVN, but AFAIK MonoDevelop doesn't handle this yet.
There is a plugin ('Version Control') that does many/most SVN things.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists
on that before then,
just ignore my opinion. :)
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
need to also use
MonoSetServerAlias.
I think that'll fix the problem.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono
Christopher Bergström wrote:
I can get vhosts to work.. I can't get vhosts to work with each site on
their own process.
What I said will put each vhost on its own process.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists
.)
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
that.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Better than what I was saying about reading pids from files, you could
use APR's cross-process mutexes:
http://docx.webperf.org/group__apr__proc__mutex.html
Just put a lock around the forking+sleeping-a-bit. I think that'll cut
out the simultaneous spawning pretty easily.
--
- Joshua
suite currently?
It's an issue specific to the design of mono's internals.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo
apache process?), read a pid
in it, if the pid is valid then it's the pid of the process doing
forking, otherwise write its own pid in it and do forking (with all of
that locked properly, and deleting the file on shutdown).
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists
yet, I hope that will help them
figure out what's up.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
of the ThreadAbortException after
catch clauses, so the thread goes on if the exception is caught at any
point.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Nevermind my last email looks like it was my fault for catching the
ThreadAbortException and not either passing it up so ResetAbort() would
be called in System.Web.HttpApplication or calling ResetAbort() myself. :)
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists
to commit.
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
Index: ChangeLog
===
--- ChangeLog (revision 50181)
+++ ChangeLog (working copy)
@@ -1,3 +1,19 @@
+2005-09-23 Joshua Tauberer [EMAIL PROTECTED
, you can turn on a mod_mono control panel with:
Location /monoctrl/
SetHandler mono-ctrl
(access restrictions here!)
/Location
And then view it at: http://yourdomain.com/monoctrl/
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
Index: src/mod_mono.c
Atsushi Eno wrote:
And now it should be fixed (at r46122). I removed some nastly
default xmlns* attributes handling.
Much appreciated. (Tho I haven't tested it.)
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono
70 matches
Mail list logo